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

Last updated: December 24,2024

1. Install "python311-mock" package

This guide let you learn how to install python311-mock on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install python311-mock

2. Uninstall "python311-mock" package

This guide covers the steps necessary to uninstall python311-mock on openSUSE Leap:

$ sudo zypper remove python311-mock

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

Information for package python311-mock:
---------------------------------------
Repository : Update repository with updates from SUSE Linux Enterprise 15
Name : python311-mock
Version : 3.0.5-150400.17.3.9
Arch : noarch
Vendor : SUSE LLC
Installed Size : 298.0 KiB
Installed : No
Status : not installed
Source package : python-mock-3.0.5-150400.17.3.9.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.