How to Install and Uninstall python3-mock Package on openSUSE Leap

Last updated: July 05,2024

1. Install "python3-mock" package

Please follow the guidelines below to install python3-mock on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install python3-mock

2. Uninstall "python3-mock" package

Please follow the instructions below to uninstall python3-mock on openSUSE Leap:

$ sudo zypper remove python3-mock

3. Information about the python3-mock package on openSUSE Leap

Information for package python3-mock:
-------------------------------------
Repository : Main Repository
Name : python3-mock
Version : 3.0.5-13.24
Arch : noarch
Vendor : SUSE LLC
Installed Size : 221.0 KiB
Installed : No
Status : not installed
Source package : python-mock-3.0.5-13.24.src
Upstream URL : http://www.voidspace.org.uk/python/mock/
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.