How to Install and Uninstall python-pytest-mock.src Package on Oracle Linux 8

Last updated: October 06,2024

1. Install "python-pytest-mock.src" package

Please follow the step by step instructions below to install python-pytest-mock.src on Oracle Linux 8

$ sudo dnf update $ sudo dnf install python-pytest-mock.src

2. Uninstall "python-pytest-mock.src" package

In this section, we are going to explain the necessary steps to uninstall python-pytest-mock.src on Oracle Linux 8:

$ sudo dnf remove python-pytest-mock.src $ sudo dnf autoremove

3. Information about the python-pytest-mock.src package on Oracle Linux 8

Last metadata expiration check: 6:58:13 ago on Mon Sep 12 02:51:38 2022.
Available Packages
Name : python-pytest-mock
Version : 1.9.0
Release : 4.module+el8.3.0+7833+4aaf98ce
Architecture : src
Size : 29 k
Source : None
Repository : ol8_appstream
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.