How to Install and Uninstall python3-pytest-mock.noarch Package on Rocky Linux 8

Last updated: November 14,2024

1. Install "python3-pytest-mock.noarch" package

Please follow the guidance below to install python3-pytest-mock.noarch on Rocky Linux 8

$ sudo dnf update $ sudo dnf install python3-pytest-mock.noarch

2. Uninstall "python3-pytest-mock.noarch" package

Please follow the guidance below to uninstall python3-pytest-mock.noarch on Rocky Linux 8:

$ sudo dnf remove python3-pytest-mock.noarch $ sudo dnf autoremove

3. Information about the python3-pytest-mock.noarch package on Rocky Linux 8

Last metadata expiration check: 0:13:13 ago on Mon Sep 12 10:27:18 2022.
Available Packages
Name : python3-pytest-mock
Version : 1.10.4
Release : 1.el8
Architecture : noarch
Size : 22 k
Source : python3-pytest-mock-1.10.4-1.el8.src.rpm
Repository : epel
Summary : Thin-wrapper around the mock package for easier use with py.test
URL : https://pypi.python.org/pypi/pytest-mock
License : MIT
Description : This plugin installs a mocker fixture which is a thin-wrapper around the
: patching API provided by the mock package, but with the benefit of not having
: to worry about undoing patches at the end of a test.