How to Install and Uninstall python2-mock Package on openSUSE Leap
Last updated: February 24,2025
Deprecated! Installation of this package may no longer be supported.
1. Install "python2-mock" package
Learn how to install python2-mock on openSUSE Leap
$
sudo zypper refresh
Copied
$
sudo zypper install
python2-mock
Copied
2. Uninstall "python2-mock" package
This guide covers the steps necessary to uninstall python2-mock on openSUSE Leap:
$
sudo zypper remove
python2-mock
Copied
3. Information about the python2-mock package on openSUSE Leap
Information for package python2-mock:
-------------------------------------
Repository : Main Repository
Name : python2-mock
Version : 3.0.5-13.24
Arch : noarch
Vendor : SUSE LLC
Installed Size : 245,1 KiB
Installed : No
Status : not installed
Source package : python-mock-3.0.5-13.24.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.
-------------------------------------
Repository : Main Repository
Name : python2-mock
Version : 3.0.5-13.24
Arch : noarch
Vendor : SUSE LLC
Installed Size : 245,1 KiB
Installed : No
Status : not installed
Source package : python-mock-3.0.5-13.24.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.