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

Last updated: July 09,2024

1. Install "python3-mock" package

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

$ sudo apt update $ sudo apt install python3-mock

2. Uninstall "python3-mock" package

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

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

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

Package: python3-mock
Source: python-mock
Version: 5.1.0-1
Installed-Size: 408
Maintainer: Debian Python Team
Architecture: all
Depends: python3:any
Suggests: python-mock-doc
Size: 70176
SHA256: 31c65d98df6f61e4db0308d47de4eed8d0d1a755dcc1bffdc2a391d5c3c72bb9
SHA1: 530cfcc444075b9aad7110ed4552b38f6de74d80
MD5sum: 330a0c939b16cbf28c470f0cdbae19cd
Description: Mocking and Testing Library (Python3 version)
mock provides a core mock.Mock class that is intended to reduce the
need to create a host of trivial stubs throughout your test suite.
After performing an action, you can make assertions about which methods
/ attributes were used and arguments they were called with. You can
also specify return values and set specific attributes in the normal
way.
.
This package contains the Python 3 version of the library.
Description-md5:
Homepage: https://github.com/testing-cabal/mock
Section: python
Priority: optional
Filename: pool/main/p/python-mock/python3-mock_5.1.0-1_all.deb