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

Last updated: November 23,2024

1. Install "python-minimock" package

Please follow the instructions below to install python-minimock on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install python-minimock

2. Uninstall "python-minimock" package

Here is a brief guide to show you how to uninstall python-minimock on Ubuntu 16.04 LTS (Xenial Xerus):

$ sudo apt remove python-minimock $ sudo apt autoclean && sudo apt autoremove

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

Package: python-minimock
Priority: extra
Section: universe/python
Installed-Size: 77
Maintainer: Ubuntu Developers
Original-Maintainer: Ben Finney
Architecture: all
Version: 1.2.7-1build1
Provides: python2.7-minimock
Depends: python (>= 2.7), python (<< 2.8), python:any (>= 2.7.1-0ubuntu2)
Filename: pool/universe/p/python-minimock/python-minimock_1.2.7-1build1_all.deb
Size: 14360
MD5sum: 7a8791216ad943bd15bfe33c866d0a93
SHA1: 5204b8b4126f35fe7e3200c9ae65508ddb8707be
SHA256: 0ee2f49fbc7665e59e17cef221273bae55b13df0bf5714f23131f227bc690328
Description-en: simple library for Python mock objects
minimock is a simple Python library for using mock objects.
.
Its mock objects will report any access made to the mock object's
interfaces. The programmer can easily make assertions about how mock
objects are used in the test cases, by using the standard-library
‘doctest’ module to match the reported access against expected
behaviour.
.
Mock objects can return specified values, raise exceptions, etc.
to simulate the mocked behaviour. Existing objects can optionally
be replaced in-place in their namespace by a mock object, and
restored safely after testing.
Description-md5: e1dfcc240aed2a02751a1b12f4f5aad1
Homepage: http://pypi.python.org/pypi/MiniMock
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu