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

Last updated: May 19,2024

1. Install "python2-pytest-attrib" package

This tutorial shows how to install python2-pytest-attrib on openSUSE Leap

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

2. Uninstall "python2-pytest-attrib" package

Please follow the guidelines below to uninstall python2-pytest-attrib on openSUSE Leap:

$ sudo zypper remove python2-pytest-attrib

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

Information for package python2-pytest-attrib:
----------------------------------------------
Repository : Main Repository
Name : python2-pytest-attrib
Version : 0.1.3-bp153.1.81
Arch : noarch
Vendor : openSUSE
Installed Size : 15,1 KiB
Installed : No
Status : not installed
Source package : python-pytest-attrib-0.1.3-bp153.1.81.src
Summary : Pytest plugin to select tests based on attributes
Description :
The pytest-attrib plugin extends py.test with the ability to select tests
based on a criteria rather than just the filename or pytest.marks. For
example, you might want to run only tests that need internet connectivity,
or tests that are slow.
The pytest.mark plugin already provides a featrure to mark tests and run
only the marked tests. This plugin also allows to run expressions on the
attributes of the class, and does not require the pytest.mark decorator.
It offers features similar to the nose plugin nose-attrib.