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

Last updated: September 28,2024

1. Install "python312-pytest-mock" package

Please follow the step by step instructions below to install python312-pytest-mock on openSuSE Tumbleweed

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

2. Uninstall "python312-pytest-mock" package

Please follow the instructions below to uninstall python312-pytest-mock on openSuSE Tumbleweed:

$ sudo zypper remove python312-pytest-mock

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

Information for package python312-pytest-mock:
----------------------------------------------
Repository : openSUSE-Tumbleweed-Oss
Name : python312-pytest-mock
Version : 3.12.0-2.4
Arch : noarch
Vendor : openSUSE
Installed Size : 109.0 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