mockldap 0.3.0-2 source package in Ubuntu
Changelog
mockldap (0.3.0-2) unstable; urgency=medium * Add python-mock to Depends for the Python2 package (Closes: #880865). * Run wrap-and-sort -bast to reduce diff size of future changes. -- Michael Fladischer <email address hidden> Thu, 09 Nov 2017 22:31:24 +0100
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 | |
---|---|---|---|---|
Bionic | release | universe | misc |
Downloads
File | Size | SHA-256 Checksum |
---|---|---|
mockldap_0.3.0-2.dsc | 2.0 KiB | 82ba1b3affee7b9929782d4afc24793f7f0421f19e9b85bff7aec25cbcbf6210 |
mockldap_0.3.0.orig.tar.gz | 18.5 KiB | 8f988897d6f0e77c7ae2b067afc22a62b3327895620d7643e66f37cedafc8c3a |
mockldap_0.3.0-2.debian.tar.xz | 11.2 KiB | 328a08fe748a95d678ecb49b3085b4b707ae290e952783a055197b6324ccddab |
Available diffs
- diff from 0.3.0-1 to 0.3.0-2 (1.1 KiB)
No changes file available.
Binary packages built by this source
- python-mockldap: No summary available for python-mockldap in ubuntu eoan.
No description available for python-mockldap in ubuntu eoan.
- 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: No summary available for python3-mockldap in ubuntu cosmic.
No description available for python3-mockldap in ubuntu cosmic.