How to Install and Uninstall python2-pytest-xvfb Package on openSUSE Leap

Last updated: May 17,2024

1. Install "python2-pytest-xvfb" package

Please follow the steps below to install python2-pytest-xvfb on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install python2-pytest-xvfb

2. Uninstall "python2-pytest-xvfb" package

Please follow the step by step instructions below to uninstall python2-pytest-xvfb on openSUSE Leap:

$ sudo zypper remove python2-pytest-xvfb

3. Information about the python2-pytest-xvfb package on openSUSE Leap

Information for package python2-pytest-xvfb:
--------------------------------------------
Repository : Main Repository
Name : python2-pytest-xvfb
Version : 1.2.0-bp153.1.19
Arch : noarch
Vendor : openSUSE
Installed Size : 17,9 KiB
Installed : No
Status : not installed
Source package : python-pytest-xvfb-1.2.0-bp153.1.19.src
Summary : Pytest plugin to run Xvfb for tests
Description :
A pytest plugin to run Xvfb for tests.
With Xvfb and the plugin installed, your testsuite automatically runs
with Xvfb. This allows tests to be run without windows popping up
during GUI tests or on systems without a display (like a CI).
If Xvfb is not installed, the plugin does not run and your tests will
still work as normal. However, a warning message will print to standard
output letting you know that Xvfb is not installed.
If you're currently using xvfb-run in something like .travis.yml,
simply remove it and install this plugin instead - then you'll also have the
benefits of Xvfb locally.

5. The same packages on other Linux Distributions