How to Install and Uninstall python3-requests-mock Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: May 17,2024

1. Install "python3-requests-mock" package

Please follow the instructions below to install python3-requests-mock on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install python3-requests-mock

2. Uninstall "python3-requests-mock" package

Learn how to uninstall python3-requests-mock on Ubuntu 16.04 LTS (Xenial Xerus):

$ sudo apt remove python3-requests-mock $ sudo apt autoclean && sudo apt autoremove

3. Information about the python3-requests-mock package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: python3-requests-mock
Priority: optional
Section: universe/python
Installed-Size: 103
Maintainer: Ubuntu Developers
Original-Maintainer: PKG OpenStack
Architecture: all
Source: python-requests-mock
Version: 0.7.0-2
Depends: python3-requests, python3-six, python3:any (>= 3.3.2-2~)
Filename: pool/universe/p/python-requests-mock/python3-requests-mock_0.7.0-2_all.deb
Size: 16162
MD5sum: d9d98d20e14820ed4f7b31359f790de1
SHA1: 6b1e609356a11bcc629048b246c492f731047deb
SHA256: a9523d0f395f16a040e3b27e110bf0753dd09c561ab674ae590559a7ac66d54c
Description-en: mock out responses from the requests package - Python 3.x
requests-mock provides a building block to stub out the HTTP requests_
portions of your testing code. Everything in requests_ eventually goes through
an adapter to do the transport work. requests-mock creates a custom adatper
that allows you to predefine responses when certain URIs are called. There are
then a number of methods provided to get the adapter used.
.
This package contains the Python 3.x module.
Description-md5: c68179d1c5921d0d326ddd8685c26aa5
Homepage: https://github.com/jamielennox/requests-mock
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu