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

Last updated: June 02,2024

1. Install "python38-pytest-mock" package

Please follow the instructions below to install python38-pytest-mock on openSuSE Tumbleweed

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

2. Uninstall "python38-pytest-mock" package

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

$ sudo zypper remove python38-pytest-mock

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

Information for package python38-pytest-mock:
---------------------------------------------
Repository : openSUSE-Tumbleweed-Oss
Name : python38-pytest-mock
Version : 3.6.1-1.2
Arch : noarch
Vendor : openSUSE
Installed Size : 88,3 KiB
Installed : No
Status : not installed
Source package : python-pytest-mock-3.6.1-1.2.src
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