How To Install python3-testresources on Fedora 36

In this tutorial we learn how to install python3-testresources in Fedora 36. python3-testresources is Testresources, a pyunit extension for managing expensive test resources

Introduction

In this tutorial we learn how to install python3-testresources on Fedora 36.

What is python3-testresources

testresources of resources by test cases.

We can use yum or dnf to install python3-testresources on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install python3-testresources.

Install python3-testresources on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install python3-testresources using dnf by running the following command:

sudo dnf -y install python3-testresources

Install python3-testresources on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install python3-testresources using yum by running the following command:

sudo yum -y install python3-testresources

How To Uninstall python3-testresources on Fedora 36

To uninstall only the python3-testresources package we can use the following command:

sudo dnf remove python3-testresources

python3-testresources Package Contents on Fedora 36

/usr/lib/python3.10/site-packages/testresources
/usr/lib/python3.10/site-packages/testresources-2.0.1-py3.10.egg-info
/usr/lib/python3.10/site-packages/testresources-2.0.1-py3.10.egg-info/PKG-INFO
/usr/lib/python3.10/site-packages/testresources-2.0.1-py3.10.egg-info/SOURCES.txt
/usr/lib/python3.10/site-packages/testresources-2.0.1-py3.10.egg-info/dependency_links.txt
/usr/lib/python3.10/site-packages/testresources-2.0.1-py3.10.egg-info/not-zip-safe
/usr/lib/python3.10/site-packages/testresources-2.0.1-py3.10.egg-info/pbr.json
/usr/lib/python3.10/site-packages/testresources-2.0.1-py3.10.egg-info/requires.txt
/usr/lib/python3.10/site-packages/testresources-2.0.1-py3.10.egg-info/top_level.txt
/usr/lib/python3.10/site-packages/testresources/__init__.py
/usr/lib/python3.10/site-packages/testresources/__pycache__
/usr/lib/python3.10/site-packages/testresources/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/testresources/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/testresources/tests
/usr/lib/python3.10/site-packages/testresources/tests/TestUtil.py
/usr/lib/python3.10/site-packages/testresources/tests/__init__.py
/usr/lib/python3.10/site-packages/testresources/tests/__pycache__
/usr/lib/python3.10/site-packages/testresources/tests/__pycache__/TestUtil.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/testresources/tests/__pycache__/TestUtil.cpython-310.pyc
/usr/lib/python3.10/site-packages/testresources/tests/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/testresources/tests/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/testresources/tests/__pycache__/test_optimising_test_suite.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/testresources/tests/__pycache__/test_optimising_test_suite.cpython-310.pyc
/usr/lib/python3.10/site-packages/testresources/tests/__pycache__/test_resource_graph.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/testresources/tests/__pycache__/test_resource_graph.cpython-310.pyc
/usr/lib/python3.10/site-packages/testresources/tests/__pycache__/test_resourced_test_case.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/testresources/tests/__pycache__/test_resourced_test_case.cpython-310.pyc
/usr/lib/python3.10/site-packages/testresources/tests/__pycache__/test_test_loader.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/testresources/tests/__pycache__/test_test_loader.cpython-310.pyc
/usr/lib/python3.10/site-packages/testresources/tests/__pycache__/test_test_resource.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/testresources/tests/__pycache__/test_test_resource.cpython-310.pyc
/usr/lib/python3.10/site-packages/testresources/tests/test_optimising_test_suite.py
/usr/lib/python3.10/site-packages/testresources/tests/test_resource_graph.py
/usr/lib/python3.10/site-packages/testresources/tests/test_resourced_test_case.py
/usr/lib/python3.10/site-packages/testresources/tests/test_test_loader.py
/usr/lib/python3.10/site-packages/testresources/tests/test_test_resource.py
/usr/share/doc/python3-testresources
/usr/share/doc/python3-testresources/NEWS
/usr/share/doc/python3-testresources/README.rst
/usr/share/doc/python3-testresources/doc
/usr/share/doc/python3-testresources/doc/example.py

References

Summary

In this tutorial we learn how to install python3-testresources on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).