How to Install and Uninstall python3-pytest-mock.noarch Package on Oracle Linux 9

Last updated: November 29,2024

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

In this section, we are going to explain the necessary steps to install python3-pytest-mock.noarch on Oracle Linux 9

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

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

This tutorial shows how to uninstall python3-pytest-mock.noarch on Oracle Linux 9:

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

3. Information about the python3-pytest-mock.noarch package on Oracle Linux 9

Last metadata expiration check: 1:58:17 ago on Thu Feb 15 07:50:05 2024.
Available Packages
Name : python3-pytest-mock
Version : 3.6.1
Release : 1.el9
Architecture : noarch
Size : 34 k
Source : python-pytest-mock-3.6.1-1.el9.src.rpm
Repository : epel
Summary : Thin-wrapper around the mock package for easier use with py.test
URL : https://github.com/pytest-dev/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.