How to Install and Uninstall python3-requests-mock Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 20,2024

1. Install "python3-requests-mock" package

Please follow the guidance below to install python3-requests-mock on Ubuntu 21.10 (Impish Indri)

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

2. Uninstall "python3-requests-mock" package

Please follow the guidance below to uninstall python3-requests-mock on Ubuntu 21.10 (Impish Indri):

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

3. Information about the python3-requests-mock package on Ubuntu 21.10 (Impish Indri)

Package: python3-requests-mock
Architecture: all
Version: 1.7.0-2
Priority: optional
Section: universe/python
Source: python-requests-mock
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian OpenStack
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 70
Depends: python3-requests, python3-six, python3:any
Filename: pool/universe/p/python-requests-mock/python3-requests-mock_1.7.0-2_all.deb
Size: 14668
MD5sum: 3257811f2a5debaf673c21bc23b34791
SHA1: 59ec35e8f8f40b837ee7f2db3b17db9c7ddd5670
SHA256: efc874860043c2579b15279ccf3dcd71960dc83c6626eaf6d810a29b716ff802
SHA512: aafba99dd1c920d82e68d36864b1a1fc35e59489ac7c209775e0356b3e96414524c8e685fd3a7b0e353c21e3610c4bafaa7ae73b904d709713c55e451cb6dced
Homepage: https://github.com/jamielennox/requests-mock
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 adapter
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: 3582655b7e0eebca757e0837c805df81