How to Install and Uninstall python311-pytest-mockito Package on openSuSE Tumbleweed

Last updated: November 26,2024

1. Install "python311-pytest-mockito" package

This guide let you learn how to install python311-pytest-mockito on openSuSE Tumbleweed

$ sudo zypper refresh $ sudo zypper install python311-pytest-mockito

2. Uninstall "python311-pytest-mockito" package

This guide covers the steps necessary to uninstall python311-pytest-mockito on openSuSE Tumbleweed:

$ sudo zypper remove python311-pytest-mockito

3. Information about the python311-pytest-mockito package on openSuSE Tumbleweed

Information for package python311-pytest-mockito:
-------------------------------------------------
Repository : openSUSE-Tumbleweed-Oss
Name : python311-pytest-mockito
Version : 0.0.4-2.10
Arch : noarch
Vendor : openSUSE
Installed Size : 8.0 KiB
Installed : No
Status : not installed
Source package : python-pytest-mockito-0.0.4-2.10.src
Upstream URL : https://github.com/kaste/pytest-mockito
Summary : Convenience plugin on top of mockito
Description :
Integration of Mockito functionality into Pytest.
For example:
def test_foo(when):
when(os.path).exists('/foo').thenReturn(False)