mockldap 0.1.4-1 source package in Ubuntu
Changelog
mockldap (0.1.4-1) unstable; urgency=low * Initial release (Closes: #730530) -- Michael Fladischer <email address hidden> Tue, 03 Dec 2013 11:54:20 +0100
Upload details
- Uploaded by:
- Debian Python Modules Team
- Uploaded to:
- Sid
- Original maintainer:
- Debian Python Modules Team
- Architectures:
- all
- Section:
- misc
- Urgency:
- Low Urgency
See full publishing history Publishing
Series | Published | Component | Section | |
---|---|---|---|---|
Trusty | release | universe | misc |
Downloads
File | Size | SHA-256 Checksum |
---|---|---|
mockldap_0.1.4-1.dsc | 2.1 KiB | f1a31586502e67abe4155e0f62ab6d3d8c9d75a34425fd64f98c70c2a37d10b1 |
mockldap_0.1.4.orig.tar.gz | 20.2 KiB | 2f6fa74f6d805945a2f3b49d2e579b0083f89969e5d72069cea394eb9c0295be |
mockldap_0.1.4-1.debian.tar.gz | 3.4 KiB | ca45dbb599af059040753b41bc4b6c78426746bff5f72fa019e90edc4ea2d8a1 |
No changes file available.
Binary packages built by this source
- python-mockldap: simple mock implementation of python-ldap
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.
- python-mockldap-doc: simple mock implementation of python-ldap (Documentation)
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 documentation.