mockldap 0.3.0-4 source package in Ubuntu
Changelog
mockldap (0.3.0-4) unstable; urgency=medium * Team upload. * Reupload without binaries to allow migration. -- Andrey Rahmatullin <email address hidden> Wed, 07 Aug 2019 23:24:51 +0500
Upload details
- Uploaded by:
- Debian Python Modules Team
- Uploaded to:
- Sid
- Original maintainer:
- Debian Python Modules Team
- Architectures:
- all
- Section:
- misc
- Urgency:
- Medium Urgency
See full publishing history Publishing
Series | Published | Component | Section | |
---|---|---|---|---|
Jammy | release | universe | misc | |
Focal | release | universe | misc |
Downloads
File | Size | SHA-256 Checksum |
---|---|---|
mockldap_0.3.0-4.dsc | 2.1 KiB | ed085f31d3366841960dee8aa5a3aaa42a20064e30528073a0ab5092d2b65872 |
mockldap_0.3.0.orig.tar.gz | 18.5 KiB | 8f988897d6f0e77c7ae2b067afc22a62b3327895620d7643e66f37cedafc8c3a |
mockldap_0.3.0-4.debian.tar.xz | 11.3 KiB | bb255e69d66a36b5fd3a09a17898eb3d430ba170f252d60b22fbf1bc545fc92e |
Available diffs
- diff from 0.3.0-3 to 0.3.0-4 (324 bytes)
No changes file available.
Binary packages built by this source
- 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.
- python3-mockldap: simple mock implementation of python-ldap (Python3 version)
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 3 version of the library.