How to Install and Uninstall python3-pytest-mock Package on openSUSE Leap

Last updated: November 23,2024

1. Install "python3-pytest-mock" package

This is a short guide on how to install python3-pytest-mock on openSUSE Leap

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

2. Uninstall "python3-pytest-mock" package

This is a short guide on how to uninstall python3-pytest-mock on openSUSE Leap:

$ sudo zypper remove python3-pytest-mock

3. Information about the python3-pytest-mock package on openSUSE Leap

Information for package python3-pytest-mock:
--------------------------------------------
Repository : Main Repository
Name : python3-pytest-mock
Version : 2.0.0-6.3.5
Arch : noarch
Vendor : SUSE LLC
Installed Size : 64.2 KiB
Installed : No
Status : not installed
Source package : python-pytest-mock-2.0.0-6.3.5.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