How to Install and Uninstall python2-python-dbusmock Package on openSUSE Leap

Last updated: November 23,2024

1. Install "python2-python-dbusmock" package

Please follow the step by step instructions below to install python2-python-dbusmock on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install python2-python-dbusmock

2. Uninstall "python2-python-dbusmock" package

Here is a brief guide to show you how to uninstall python2-python-dbusmock on openSUSE Leap:

$ sudo zypper remove python2-python-dbusmock

3. Information about the python2-python-dbusmock package on openSUSE Leap

Information for package python2-python-dbusmock:
------------------------------------------------
Repository : Main Repository
Name : python2-python-dbusmock
Version : 0.18.1-bp153.1.14
Arch : noarch
Vendor : openSUSE
Installed Size : 382,3 KiB
Installed : No
Status : not installed
Source package : python-python-dbusmock-0.18.1-bp153.1.14.src
Summary : Python library for creating mock D-Bus objects
Description :
With this program/Python library, one can create mock objects on D-Bus.
This is useful for writing tests for software which talks to D-Bus services
such as upower, systemd, logind, gnome-session or others, and it is hard
(or impossible without root privileges) to set the state of the real services
to what one may expect in tests.