How to Install and Uninstall python3-mockldap Package on Kali Linux

Last updated: May 18,2024

1. Install "python3-mockldap" package

This guide covers the steps necessary to install python3-mockldap on Kali Linux

$ sudo apt update $ sudo apt install python3-mockldap

2. Uninstall "python3-mockldap" package

In this section, we are going to explain the necessary steps to uninstall python3-mockldap on Kali Linux:

$ sudo apt remove python3-mockldap $ sudo apt autoclean && sudo apt autoremove

3. Information about the python3-mockldap package on Kali Linux

Package: python3-mockldap
Source: mockldap
Version: 0.3.0-7
Installed-Size: 53
Maintainer: Debian Python Team
Architecture: all
Depends: python3-funcparserlib, python3:any
Suggests: python-mockldap-doc
Size: 13608
SHA256: 11535a7a7678d4f9daca5dc84dcdcf876470b00ed9675ccbb0501dfce4fb5596
SHA1: cecf9e40b4c5fc4c7719ead3e09ed1da470e48a1
MD5sum: fe99966f3e46dd59cf54289ef2e030ea
Description: 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.
Description-md5:
Homepage: https://bitbucket.org/psagers/mockldap/
Section: python
Priority: optional
Filename: pool/main/m/mockldap/python3-mockldap_0.3.0-7_all.deb