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

Last updated: December 24,2024

1. Install "python-mockito" package

This guide let you learn how to install python-mockito on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install python-mockito

2. Uninstall "python-mockito" package

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

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

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

Package: python-mockito
Priority: optional
Section: universe/python
Installed-Size: 135
Maintainer: Ubuntu Developers
Original-Maintainer: PKG OpenStack
Architecture: all
Version: 0.5.2-4
Depends: python (>= 2.7), python (<< 2.8)
Pre-Depends: dpkg (>= 1.15.6~)
Filename: pool/universe/p/python-mockito/python-mockito_0.5.2-4_all.deb
Size: 14646
MD5sum: 7d338645471be30342126adb1cf92d04
SHA1: ae789c3f4012ebd3348a63799839cd0899ac3d0a
SHA256: 434e07eda771f1c5fc42d0160da7eced008392bc60c2978b12f74523fb2ce5ac
Description-en: spying (testing) framework - Python 2.x
Mockito is a testing framework. The framework allows the creation of Test
Double objects (called "Mock Objects") in automated unit tests for the purpose
of Test-driven Development (TDD) or Behavior Driven Development (BDD).
.
Python Mockito is a spying framework based on Java library with the same name.
.
This package provides the Python 2.x module.
Description-md5: c4a2eb6a067cca61e01864aded9631c1
Homepage: http://code.google.com/p/mockito-python
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu

5. The same packages on other Linux Distributions