How to Install and Uninstall python-mockldap-doc Package on Kali Linux

Last updated: May 19,2024

1. Install "python-mockldap-doc" package

Learn how to install python-mockldap-doc on Kali Linux

$ sudo apt update $ sudo apt install python-mockldap-doc

2. Uninstall "python-mockldap-doc" package

Please follow the instructions below to uninstall python-mockldap-doc on Kali Linux:

$ sudo apt remove python-mockldap-doc $ sudo apt autoclean && sudo apt autoremove

3. Information about the python-mockldap-doc package on Kali Linux

Package: python-mockldap-doc
Source: mockldap
Version: 0.3.0-7
Installed-Size: 290
Maintainer: Debian Python Team
Architecture: all
Depends: libjs-sphinxdoc (>= 4.3)
Size: 33840
SHA256: 128be297f57163a4cbdc1ec31146de1889a65207385d496516a44f208600755e
SHA1: b06948ade1f9511f7b247a9f7348a14170945307
MD5sum: 4edffb07cac47e28e529d9a1dfa3543f
Description: 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.
Description-md5:
Multi-Arch: foreign
Homepage: https://bitbucket.org/psagers/mockldap/
Section: doc
Priority: optional
Filename: pool/main/m/mockldap/python-mockldap-doc_0.3.0-7_all.deb