How to Install and Uninstall python2-pytest-mock.noarch Package on AlmaLinux 8

Last updated: May 19,2024

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

Learn how to install python2-pytest-mock.noarch on AlmaLinux 8

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

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

This tutorial shows how to uninstall python2-pytest-mock.noarch on AlmaLinux 8:

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

3. Information about the python2-pytest-mock.noarch package on AlmaLinux 8

Last metadata expiration check: 1:06:12 ago on Mon Sep 5 03:22:42 2022.
Available Packages
Name : python2-pytest-mock
Version : 1.9.0
Release : 4.module_el8.6.0+2781+fed64c13
Architecture : noarch
Size : 21 k
Source : python-pytest-mock-1.9.0-4.module_el8.6.0+2781+fed64c13.src.rpm
Repository : 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.