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

Last updated: December 26,2024

1. Install "python39-mock" package

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

$ sudo zypper refresh $ sudo zypper install python39-mock

2. Uninstall "python39-mock" package

This tutorial shows how to uninstall python39-mock on openSuSE Tumbleweed:

$ sudo zypper remove python39-mock

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

Information for package python39-mock:
--------------------------------------
Repository : openSUSE-Tumbleweed-Oss
Name : python39-mock
Version : 4.0.3-1.4
Arch : noarch
Vendor : openSUSE
Installed Size : 279,4 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.