全部搜尋項
buster  ] [  bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ 原始碼: mockldap  ]

套件:python-mockldap-doc(0.3.0-8)

python-mockldap-doc 的相關連結

Screenshot

Debian 的資源:

下載原始碼套件 mockldap

維護小組:

外部的資源:

相似套件:

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.

其他與 python-mockldap-doc 有關的套件

  • 依賴
  • 推薦
  • 建議
  • 增強

下載 python-mockldap-doc

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 34。1 kB302。0 kB [檔案列表]