How to Install and Uninstall python38-mock Package on openSuSE Tumbleweed

Last updated: May 18,2024

1. Install "python38-mock" package

Please follow the instructions below to install python38-mock on openSuSE Tumbleweed

$ sudo zypper refresh $ sudo zypper install python38-mock

2. Uninstall "python38-mock" package

This is a short guide on how to uninstall python38-mock on openSuSE Tumbleweed:

$ sudo zypper remove python38-mock

3. Information about the python38-mock package on openSuSE Tumbleweed

Information for package python38-mock:
--------------------------------------
Repository : openSUSE-Tumbleweed-Oss
Name : python38-mock
Version : 4.0.3-1.4
Arch : noarch
Vendor : openSUSE
Installed Size : 279,7 KiB
Installed : No
Status : not installed
Source package : python-mock-4.0.3-1.4.src
Summary : A Python Mocking and Patching Library for Testing
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.