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

Last updated: November 27,2024

1. Install "python-mock.src" package

Here is a brief guide to show you how to install python-mock.src on Oracle Linux 8

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

2. Uninstall "python-mock.src" package

This is a short guide on how to uninstall python-mock.src on Oracle Linux 8:

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

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

Last metadata expiration check: 6:26:39 ago on Mon Sep 12 02:51:38 2022.
Available Packages
Name : python-mock
Version : 2.0.0
Release : 13.module+el8.3.0+7833+4aaf98ce
Architecture : src
Size : 87 k
Source : None
Repository : ol8_appstream
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
: needed attributes in the normal way.