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

Last updated: November 23,2024

1. Install "python-ddt" package

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

$ sudo apt update $ sudo apt install python-ddt

2. Uninstall "python-ddt" package

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

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

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

Package: python-ddt
Priority: optional
Section: universe/python
Installed-Size: 25
Maintainer: Ubuntu Developers
Original-Maintainer: PKG OpenStack
Architecture: all
Version: 1.0.1-1
Depends: python:any (<< 2.8), python:any (>= 2.7.5-5~)
Filename: pool/universe/p/python-ddt/python-ddt_1.0.1-1_all.deb
Size: 5822
MD5sum: ad24f698376bfc8196e3c4294d5c81e1
SHA1: dfbdbfdf2dc90e2b45fcc9003c24d9bcf0ac083b
SHA256: 15e698987d36d9c5342f06f1989b35ee19d3b77356c24a29cc8751f6aef5ecf3
Description-en: Data-Driven/Decorated Tests - Python 2.x
DDT (Data-Driven Tests) allows you to multiply one test case by running it
with different test data, and make it appear as multiple test cases. DDT
consists of a class decorator ddt (for your TestCase subclass) and two
method decorators (for your tests that want to be multiplied).
.
This package contains the Python 2.x module.
Description-md5: 6dec7beacbcd6e532b9c5e6b74c5c53c
Homepage: https://pypi.python.org/pypi/ddt
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu