How to Install and Uninstall python311-pytest-mock Package on openSuSE Tumbleweed

Last updated: May 20,2024

1. Install "python311-pytest-mock" package

Please follow the guidelines below to install python311-pytest-mock on openSuSE Tumbleweed

$ sudo zypper refresh $ sudo zypper install python311-pytest-mock

2. Uninstall "python311-pytest-mock" package

Here is a brief guide to show you how to uninstall python311-pytest-mock on openSuSE Tumbleweed:

$ sudo zypper remove python311-pytest-mock

3. Information about the python311-pytest-mock package on openSuSE Tumbleweed

Information for package python311-pytest-mock:
----------------------------------------------
Repository : openSUSE-Tumbleweed-Oss
Name : python311-pytest-mock
Version : 3.12.0-2.4
Arch : noarch
Vendor : openSUSE
Installed Size : 113.3 KiB
Installed : No
Status : not installed
Source package : python-pytest-mock-3.12.0-2.4.src
Upstream URL : https://github.com/pytest-dev/pytest-mock
Summary : Thin-wrapper around the mock package for easier use with pytest
Description :
This plugin installs a ``mocker`` fixture which is a thin-wrapper around the patching API
provided by the `mock` package, but with the benefit of not having to worry about undoing
patches at the end of a test

5. The same packages on other Linux Distributions