How to Install and Uninstall python2-mock.noarch Package on CentOS 7 / RHEL 7

Last updated: May 05,2024

1. Install "python2-mock.noarch" package

This is a short guide on how to install python2-mock.noarch on CentOS 7 / RHEL 7

$ sudo yum makecache $ sudo yum install python2-mock.noarch

2. Uninstall "python2-mock.noarch" package

Learn how to uninstall python2-mock.noarch on CentOS 7 / RHEL 7:

$ sudo yum remove python2-mock.noarch $ sudo yum autoremove

3. Information about the python2-mock.noarch package on CentOS 7 / RHEL 7

Installed Packages
Name : python2-mock
Arch : noarch
Version : 1.0.1
Release : 10.el7
Size : 365 k
Repo : installed
From repo : epel
Summary : A Python Mocking and Patching Library for Testing
URL : http://www.voidspace.org.uk/python/mock/
License : BSD
Description : Mock is a Python module that provides a core mock class. It
: removes the need to create a host of stubs throughout your test
: suite. After performing an action, you can make assertions about
: which methods / attributes were used and arguments they were
: called with. You can also specify return values and set