How to Install and Uninstall python-mock-doc Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: May 15,2024

1. Install "python-mock-doc" package

Please follow the step by step instructions below to install python-mock-doc on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install python-mock-doc

2. Uninstall "python-mock-doc" package

In this section, we are going to explain the necessary steps to uninstall python-mock-doc on Ubuntu 16.04 LTS (Xenial Xerus):

$ sudo apt remove python-mock-doc $ sudo apt autoclean && sudo apt autoremove

3. Information about the python-mock-doc package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: python-mock-doc
Priority: extra
Section: doc
Installed-Size: 202
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Python Modules Team
Architecture: all
Source: python-mock
Version: 1.3.0-2.1ubuntu1
Replaces: python-mock (<< 0.7.2)
Depends: libjs-sphinxdoc (>= 1.0)
Breaks: python-mock (<< 0.7.2)
Filename: pool/main/p/python-mock/python-mock-doc_1.3.0-2.1ubuntu1_all.deb
Size: 26322
MD5sum: a5493128437492e6062386761dd4621a
SHA1: 2bff3467ec4fe1f91621e5ea03bf63b9bf7f0a17
SHA256: cdf7e0983ceb06f9c43a282966e34a42fb065fef2e46a614d6c51c1a747baef8
Description-en: Mocking and Testing Library (Documentation)
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 documentation.
Description-md5: ce49c633ce1424a156e31d54d2c8050a
Homepage: http://www.voidspace.org.uk/python/mock/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Supported: 9m