Pakiet: python3-mockldap (0.3.0-4)
Odnośniki dla python3-mockldap
Zasoby systemu Trisquel:
- Install using apturl
- Entry at directory.fsf.org
- Raporty o błędach
- Changelog
- Informacje nt. praw autorskich
Pobieranie pakietu źródłowego mockldap:
Opiekun:
Original Maintainers:
- Debian Python Modules Team (Archiwum e-mail)
- Michael Fladischer
Zasoby zewnętrzne:
- Strona internetowa [bitbucket.org]
Podobne pakiety:
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.
Inne pakiety związane z python3-mockldap
|
|
|
-
- dep: python3
- interactive high-level object-oriented language (default python3 version)
-
- dep: python3-funcparserlib
- Recursive descent parsing library for python3
-
- sug: python-mockldap-doc
- simple mock implementation of python-ldap (Documentation)
Pobieranie python3-mockldap
Architektura | Rozmiar pakietu | Rozmiar po instalacji | Pliki |
---|---|---|---|
all | 12,3 KiB | 52 KiB | [lista plików] |