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

Last updated: November 23,2024

1. Install "python-doublex" package

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

$ sudo apt update $ sudo apt install python-doublex

2. Uninstall "python-doublex" package

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

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

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

Package: python-doublex
Priority: optional
Section: universe/python
Installed-Size: 233
Maintainer: Ubuntu Developers
Original-Maintainer: David Villa Alises
Architecture: all
Source: doublex
Version: 1.8.2-1build1
Replaces: python-pydoubles
Depends: python (>= 2.7), python (<< 2.8), python-hamcrest
Filename: pool/universe/d/doublex/python-doublex_1.8.2-1build1_all.deb
Size: 28700
MD5sum: 9a5dfe6371ca8888ce1cad39f89481ef
SHA1: 05b9c794778427f4d67b9c7415e3aadcbd7cb7f4
SHA256: 9ffedc58b6925feb080ce05918c57ec24ae5bc8365d930e29718d83fe1fe0774
Description-en: test doubles framework for Python 2
doublex is a test doubles framework for the Python unittest module. It may be
used as a effective tool to perform Test Driven Development.
.
It provides stubs, spies, proxy-spies, mocks, individual methods, properties,
etc. Methods support observer attachment or delegate return value generation
to iterables, generators or even third party functions. A special double
factory (called Mimic) allows one to create doubles inheriting original class
superclasses. This provides replacements for the original instances even for
code performing explicit type checking.
.
doublex supersedes pyDoubles and it provides its legacy API as a wrapper.
Description-md5: fdf2dab751cf63af9151b1c4d8fc779c
Homepage: https://bitbucket.org/DavidVilla/python-doublex
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu