How to Install and Uninstall python3-pytest-mock Package on Kali Linux

Last updated: May 10,2024

1. Install "python3-pytest-mock" package

Please follow the instructions below to install python3-pytest-mock on Kali Linux

$ sudo apt update $ sudo apt install python3-pytest-mock

2. Uninstall "python3-pytest-mock" package

Please follow the guidance below to uninstall python3-pytest-mock on Kali Linux:

$ sudo apt remove python3-pytest-mock $ sudo apt autoclean && sudo apt autoremove

3. Information about the python3-pytest-mock package on Kali Linux

Package: python3-pytest-mock
Source: pytest-mock
Version: 3.12.0-1.1
Installed-Size: 63
Maintainer: Debian Python Team
Architecture: all
Depends: python3-pytest (>= 7.1.2), python3:any
Suggests: python-pytest-mock-doc
Size: 17620
SHA256: b476fa2853fb67e0700ca25a675be5263f8893e1875b21916af7a4732a69a07d
SHA1: 2e9e43f9b6112cf845efdcfddfa9a5ac927634c3
MD5sum: 24a58b57bbf9bdd1d67a91594cd0fc23
Description: Thin wrapper around mock for easier use with pytest (Python 3 module)
This plugin installs a "mocker" fixture which is a thin wrapper
around the patching API provided by the excellent "mock" package or
by unittest.mock, but with the benefit of not having to worry about
undoing patches at the end of a test. It also provides other nice
utilities such as spy and stub, and uses pytest introspection when
comparing calls.
.
This package provides the Python 3 module.
Description-md5:
Homepage: https://github.com/pytest-dev/pytest-mock/
Section: python
Priority: optional
Filename: pool/main/p/pytest-mock/python3-pytest-mock_3.12.0-1.1_all.deb