How To Install python3-webtest on Fedora 36

In this tutorial we learn how to install python3-webtest in Fedora 36. python3-webtest is Helper to test WSGI applications

Introduction

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

What is python3-webtest

WebTest wraps any WSGI application and makes it easy to send test requests to that application, without starting up an HTTP server. This provides convenient full-stack testing of applications written with any WSGI-compatible framework.

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

Install python3-webtest 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-webtest using dnf by running the following command:

sudo dnf -y install python3-webtest

Install python3-webtest 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-webtest using yum by running the following command:

sudo yum -y install python3-webtest

How To Uninstall python3-webtest on Fedora 36

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

sudo dnf remove python3-webtest

python3-webtest Package Contents on Fedora 36

/usr/lib/python3.10/site-packages/WebTest-3.0.0-py3.10.egg-info
/usr/lib/python3.10/site-packages/WebTest-3.0.0-py3.10.egg-info/PKG-INFO
/usr/lib/python3.10/site-packages/WebTest-3.0.0-py3.10.egg-info/SOURCES.txt
/usr/lib/python3.10/site-packages/WebTest-3.0.0-py3.10.egg-info/dependency_links.txt
/usr/lib/python3.10/site-packages/WebTest-3.0.0-py3.10.egg-info/entry_points.txt
/usr/lib/python3.10/site-packages/WebTest-3.0.0-py3.10.egg-info/not-zip-safe
/usr/lib/python3.10/site-packages/WebTest-3.0.0-py3.10.egg-info/requires.txt
/usr/lib/python3.10/site-packages/WebTest-3.0.0-py3.10.egg-info/top_level.txt
/usr/lib/python3.10/site-packages/webtest
/usr/lib/python3.10/site-packages/webtest/__init__.py
/usr/lib/python3.10/site-packages/webtest/__pycache__
/usr/lib/python3.10/site-packages/webtest/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/webtest/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/webtest/__pycache__/app.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/webtest/__pycache__/app.cpython-310.pyc
/usr/lib/python3.10/site-packages/webtest/__pycache__/compat.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/webtest/__pycache__/compat.cpython-310.pyc
/usr/lib/python3.10/site-packages/webtest/__pycache__/debugapp.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/webtest/__pycache__/debugapp.cpython-310.pyc
/usr/lib/python3.10/site-packages/webtest/__pycache__/ext.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/webtest/__pycache__/ext.cpython-310.pyc
/usr/lib/python3.10/site-packages/webtest/__pycache__/forms.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/webtest/__pycache__/forms.cpython-310.pyc
/usr/lib/python3.10/site-packages/webtest/__pycache__/http.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/webtest/__pycache__/http.cpython-310.pyc
/usr/lib/python3.10/site-packages/webtest/__pycache__/lint.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/webtest/__pycache__/lint.cpython-310.pyc
/usr/lib/python3.10/site-packages/webtest/__pycache__/response.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/webtest/__pycache__/response.cpython-310.pyc
/usr/lib/python3.10/site-packages/webtest/__pycache__/sel.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/webtest/__pycache__/sel.cpython-310.pyc
/usr/lib/python3.10/site-packages/webtest/__pycache__/utils.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/webtest/__pycache__/utils.cpython-310.pyc
/usr/lib/python3.10/site-packages/webtest/app.py
/usr/lib/python3.10/site-packages/webtest/compat.py
/usr/lib/python3.10/site-packages/webtest/debugapp.py
/usr/lib/python3.10/site-packages/webtest/ext.py
/usr/lib/python3.10/site-packages/webtest/forms.py
/usr/lib/python3.10/site-packages/webtest/http.py
/usr/lib/python3.10/site-packages/webtest/lint.py
/usr/lib/python3.10/site-packages/webtest/response.py
/usr/lib/python3.10/site-packages/webtest/sel.py
/usr/lib/python3.10/site-packages/webtest/utils.py
/usr/share/doc/python3-webtest
/usr/share/doc/python3-webtest/CHANGELOG.rst
/usr/share/doc/python3-webtest/api.rst
/usr/share/doc/python3-webtest/contributing.rst
/usr/share/doc/python3-webtest/debugapp.rst
/usr/share/doc/python3-webtest/form.html
/usr/share/doc/python3-webtest/forms.rst
/usr/share/doc/python3-webtest/index.rst
/usr/share/doc/python3-webtest/testapp.rst
/usr/share/doc/python3-webtest/testresponse.rst
/usr/share/doc/python3-webtest/webtest.rst

References

Summary

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