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

Last updated: November 23,2024

1. Install "python310-pytest-mock" package

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

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

2. Uninstall "python310-pytest-mock" package

This is a short guide on how to uninstall python310-pytest-mock on openSuSE Tumbleweed:

$ sudo zypper remove python310-pytest-mock

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

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