Пакет: python-mockldap (0.3.0-2)
Ссылки для python-mockldap
Ресурсы Debian:
- Сообщения об ошибках
- Developer Information
- Debian журнал изменений
- Файл авторских прав
- Отслеживание заплат Debian
Исходный код mockldap:
Сопровождающие:
Внешние ресурсы:
- Сайт [bitbucket.org]
Подобные пакеты:
simple mock implementation of python-ldap (Python2 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 2 version of the library.
Другие пакеты, относящиеся к python-mockldap
|
|
|
|
-
- dep: python
- интерактивный объектно-ориентированный язык высокого уровня (ветка 2.x)
-
- dep: python-funcparserlib
- Recursive descent parsing library based on functional combinators
-
- dep: python-mock
- Mocking and Testing Library
-
- dep: python-pyldap
- LDAP interface module for Python 2.7 - transition package
также виртуальный пакет, предоставляемый python-ldap
-
- sug: python-mockldap-doc
- simple mock implementation of python-ldap (Documentation)
Загрузка python-mockldap
Архитектура | Размер пакета | В установленном виде | Файлы |
---|---|---|---|
all | 13,9 Кб | 54,0 Кб | [список файлов] |