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

Last updated: November 26,2024

1. Install "python3-httmock" package

Please follow the guidelines below to install python3-httmock on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install python3-httmock

2. Uninstall "python3-httmock" package

Please follow the guidelines below to uninstall python3-httmock on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove python3-httmock $ sudo apt autoclean && sudo apt autoremove

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

Package: python3-httmock
Architecture: all
Version: 1.4.0-1
Multi-Arch: foreign
Priority: optional
Section: universe/python
Source: httmock
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Python Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 28
Depends: python3-requests (>= 1.0.0), python3:any
Filename: pool/universe/h/httmock/python3-httmock_1.4.0-1_all.deb
Size: 6268
MD5sum: def527d235a13f2ea59b82eb94230cff
SHA1: 0c38d26b0a4fa4733b0c71111fa8538a55f85e54
SHA256: a6ea1425d9f3a46c4cc04199992a3971eaa9eb71d01845dcacf704de92556a3e
SHA512: 94aa3c9be95b2276c39438fcb879108208789f6b79ecd1770f09fc2a40ee59bbebaf6935c43ba7e48780e110c1abfbc0be84301ae7cd43ef85a2788db8f46fa3
Homepage: https://github.com/patrys/httmock
Description-en: Mocking library for python3-requests
This library allows unit tests to provide mocked responses to HTTP requests
made using the 'requests' library, either conditionally using the
'urlmatch' decorator or for all requests using the 'all_requests'
decorator.
Description-md5: 54f53fa7b3ec7ed7531a45b11694ecbe