How to Install and Uninstall python3-pytest-mock Package on Ubuntu 21.10 (Impish Indri)
Last updated: December 24,2024
1. Install "python3-pytest-mock" package
This is a short guide on how to install python3-pytest-mock on Ubuntu 21.10 (Impish Indri)
$
sudo apt update
Copied
$
sudo apt install
python3-pytest-mock
Copied
2. Uninstall "python3-pytest-mock" package
This is a short guide on how to uninstall python3-pytest-mock on Ubuntu 21.10 (Impish Indri):
$
sudo apt remove
python3-pytest-mock
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the python3-pytest-mock package on Ubuntu 21.10 (Impish Indri)
Package: python3-pytest-mock
Architecture: all
Version: 1.10.4-4
Priority: optional
Section: universe/python
Source: pytest-mock
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Python Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 51
Depends: python3-pytest, python3:any, python3-pytest (>= 3.0.3) | python3-pytest (<< 3)
Filename: pool/universe/p/pytest-mock/python3-pytest-mock_1.10.4-4_all.deb
Size: 14888
MD5sum: fe43d938cf1c4c9f1390a7f4d6d9d7ad
SHA1: c39482aff0d94bf8a9680ea4e51d3c810f83bead
SHA256: 7e732d734af095a1037709dfe41496545ffdb0e1d250374c4dd4be144d2fbe42
SHA512: 57f87de0f148015f5db16d37bca1b7eed7f0a28b099da026b3c67fa395f16e16319c22eb476bbf608e3ecce0a7dc66e00c31b15e4db9529e3ba320767cac6ec1
Homepage: https://github.com/pytest-dev/pytest-mock/
Description-en: thin-wrapper around mock for easier use with py.test (Python 3 module)
This plugin installs a "mocker" fixture which is a thin-wrapper
around the patching API provided by the excellent "mock" package, but
with the benefit of not having to worry about undoing patches at the
end of a test.
.
This package provides the Python 3 module.
Description-md5: 38c2fbb78ade5094d588f51ccebd7723
Architecture: all
Version: 1.10.4-4
Priority: optional
Section: universe/python
Source: pytest-mock
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Python Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 51
Depends: python3-pytest, python3:any, python3-pytest (>= 3.0.3) | python3-pytest (<< 3)
Filename: pool/universe/p/pytest-mock/python3-pytest-mock_1.10.4-4_all.deb
Size: 14888
MD5sum: fe43d938cf1c4c9f1390a7f4d6d9d7ad
SHA1: c39482aff0d94bf8a9680ea4e51d3c810f83bead
SHA256: 7e732d734af095a1037709dfe41496545ffdb0e1d250374c4dd4be144d2fbe42
SHA512: 57f87de0f148015f5db16d37bca1b7eed7f0a28b099da026b3c67fa395f16e16319c22eb476bbf608e3ecce0a7dc66e00c31b15e4db9529e3ba320767cac6ec1
Homepage: https://github.com/pytest-dev/pytest-mock/
Description-en: thin-wrapper around mock for easier use with py.test (Python 3 module)
This plugin installs a "mocker" fixture which is a thin-wrapper
around the patching API provided by the excellent "mock" package, but
with the benefit of not having to worry about undoing patches at the
end of a test.
.
This package provides the Python 3 module.
Description-md5: 38c2fbb78ade5094d588f51ccebd7723