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

Last updated: May 15,2024

1. Install "python-flexmock" package

This tutorial shows how to install python-flexmock on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install python-flexmock

2. Uninstall "python-flexmock" package

This is a short guide on how to uninstall python-flexmock on Ubuntu 16.04 LTS (Xenial Xerus):

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

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

Package: python-flexmock
Priority: optional
Section: universe/python
Installed-Size: 69
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Python Modules Team
Architecture: all
Version: 0.10.2-1
Depends: python:any (<< 2.8), python:any (>= 2.7.5-5~)
Filename: pool/universe/p/python-flexmock/python-flexmock_0.10.2-1_all.deb
Size: 15178
MD5sum: c4f42161f54295e990ec8bcc83192099
SHA1: e547c17318ecf413d0fcc6945b2f1515ffba0e79
SHA256: a3ada31390456529ee388bfa0d6b75f4be2371b5f7e018ea5d1819e2cf537d82
Description-en: Mock/Stub/Spy library for Python
flexmock is a testing library for Python that makes it easy to create mocks,
stubs and fakes.
.
The API is inspired by a Ruby library of the same name, but Python flexmock is
not a clone of the Ruby version. It omits a number of redundancies in the Ruby
flexmock API, alters some defaults, and introduces a number of Python-only
features.
.
flexmock's design focuses on simplicity and intuitiveness. This means that the
API is as lean as possible, though a few convenient short-hand methods are
provided to aid brevity and readability.
.
flexmock declarations are structured to read more like English sentences than
API calls, and it is possible to chain them together in any order to achieve
high degree of expressiveness in a single line of code.
.
This package contains the Python 2.x version of flexmock.
Description-md5: 5b0ee4ca13f8449cffa3106e4558d295
Homepage: https://flexmock.readthedocs.org/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu