python-mockldap binary package in Ubuntu Bionic armhf
This project provides a mock replacement for python-ldap. It’s useful for any
project that would like to write unit tests against LDAP code without relying
on a running LDAP server.
.
The goal of mockldap is to provide a mock instance of LDAPObject in response to
any call to ldap.initialize. In the general case, you would register return
values for all LDAPObject calls that you expect the code under test to make.
Your assertions would then verify that the tested code behaved correctly given
this set of return values from the LDAP APIs.
.
As a convenience, the mock LDAPObject isn’t just a dumb mock object. The
typical way to use mockldap is to provide some static directory content and
then let LDAPObject generate real return values. This will only work for simple
LDAP operations–this obviously isn’t a complete Python LDAP server
implementation–but those simple operations tend to cover a lot of cases.
.
This package contains the Python 2 version of the library.
Publishing history
Date | Status | Target | Component | Section | Priority | Phased updates | Version | ||
---|---|---|---|---|---|---|---|---|---|
2017-11-10 08:40:42 UTC | Published | Ubuntu Bionic armhf | release | universe | python | Extra | 0.3.0-2 | ||
|
|||||||||
Deleted | Ubuntu Bionic armhf | proposed | universe | python | Extra | 0.3.0-2 | |||
|
|||||||||
2017-11-10 08:41:14 UTC | Superseded | Ubuntu Bionic armhf | release | universe | python | Extra | 0.3.0-1 | ||
|
|||||||||
2017-11-11 12:10:11 UTC | Deleted | Ubuntu Bionic armhf | proposed | universe | python | Extra | 0.3.0-1 | ||
|
|||||||||
2017-11-03 13:42:23 UTC | Superseded | Ubuntu Bionic armhf | release | universe | python | Extra | 0.2.8-1 | ||
|