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

Last updated: May 20,2024

1. Install "python39-pytest-mock" package

In this section, we are going to explain the necessary steps to install python39-pytest-mock on openSuSE Tumbleweed

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

2. Uninstall "python39-pytest-mock" package

This tutorial shows how to uninstall python39-pytest-mock on openSuSE Tumbleweed:

$ sudo zypper remove python39-pytest-mock

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

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