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

Last updated: May 15,2024

1. Install "python3-pytest-xvfb" package

This guide let you learn how to install python3-pytest-xvfb on openSUSE Leap

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

2. Uninstall "python3-pytest-xvfb" package

This guide covers the steps necessary to uninstall python3-pytest-xvfb on openSUSE Leap:

$ sudo zypper remove python3-pytest-xvfb

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

Information for package python3-pytest-xvfb:
--------------------------------------------
Repository : Main Repository
Name : python3-pytest-xvfb
Version : 2.0.0-bp155.2.13
Arch : noarch
Vendor : openSUSE
Installed Size : 20.1 KiB
Installed : No
Status : not installed
Source package : python-pytest-xvfb-2.0.0-bp155.2.13.src
Upstream URL : https://github.com/The-Compiler/pytest-xvfb
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.