How to Install and Uninstall python3-mockldap Package on Ubuntu 21.10 (Impish Indri)
Last updated: December 29,2024
1. Install "python3-mockldap" package
Learn how to install python3-mockldap on Ubuntu 21.10 (Impish Indri)
$
sudo apt update
Copied
$
sudo apt install
python3-mockldap
Copied
2. Uninstall "python3-mockldap" package
In this section, we are going to explain the necessary steps to uninstall python3-mockldap on Ubuntu 21.10 (Impish Indri):
$
sudo apt remove
python3-mockldap
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the python3-mockldap package on Ubuntu 21.10 (Impish Indri)
Package: python3-mockldap
Architecture: all
Version: 0.3.0-4
Priority: extra
Section: universe/python
Source: mockldap
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Python Modules Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 52
Depends: python3-funcparserlib, python3:any
Suggests: python-mockldap-doc
Filename: pool/universe/m/mockldap/python3-mockldap_0.3.0-4_all.deb
Size: 12604
MD5sum: 0768128d503b8b75209d5753baa1e364
SHA1: ba945a32590bba39be9dc6641cab2e1cf0d79f2b
SHA256: f37c2b69adf71a0959f2c1596399ae870a5c2a12ccf2766af3d77fca7ec1e919
SHA512: 4d2d06593708a273e44b5c6313cadae1c4b15e883e692006f698963d01b80c193f663dc46d15970fb5a8dbe7a24acf96fd2f1d037b09b9bb2669ddb6d0ea4a4d
Homepage: https://bitbucket.org/psagers/mockldap/
Description-en: 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: fbacfdf5181a837b9ccc6878ab96b9fe
Architecture: all
Version: 0.3.0-4
Priority: extra
Section: universe/python
Source: mockldap
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Python Modules Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 52
Depends: python3-funcparserlib, python3:any
Suggests: python-mockldap-doc
Filename: pool/universe/m/mockldap/python3-mockldap_0.3.0-4_all.deb
Size: 12604
MD5sum: 0768128d503b8b75209d5753baa1e364
SHA1: ba945a32590bba39be9dc6641cab2e1cf0d79f2b
SHA256: f37c2b69adf71a0959f2c1596399ae870a5c2a12ccf2766af3d77fca7ec1e919
SHA512: 4d2d06593708a273e44b5c6313cadae1c4b15e883e692006f698963d01b80c193f663dc46d15970fb5a8dbe7a24acf96fd2f1d037b09b9bb2669ddb6d0ea4a4d
Homepage: https://bitbucket.org/psagers/mockldap/
Description-en: 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: fbacfdf5181a837b9ccc6878ab96b9fe