How To Install python-webtest.noarch on Amazon Linux 2

In this tutorial we learn how to install python-webtest.noarch in Amazon Linux 2. python-webtest.noarch is Helper to test WSGI applications

Introduction

In this tutorial we learn how to install python-webtest.noarch on Amazon Linux 2.

What is python-webtest.noarch

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 to install python-webtest.noarch on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install python-webtest.noarch.

Install python-webtest.noarch on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install python-webtest.noarch using yum by running the following command:

sudo yum -y install python-webtest.noarch

How To Uninstall python-webtest.noarch on Amazon Linux 2

To uninstall only the python-webtest.noarch package we can use the following command:

sudo yum remove python-webtest.noarch

python-webtest.noarch Package Contents on Amazon Linux 2

/usr/lib/python2.7/site-packages/WebTest-1.3.4-py2.7.egg-info
/usr/lib/python2.7/site-packages/WebTest-1.3.4-py2.7.egg-info/PKG-INFO
/usr/lib/python2.7/site-packages/WebTest-1.3.4-py2.7.egg-info/SOURCES.txt
/usr/lib/python2.7/site-packages/WebTest-1.3.4-py2.7.egg-info/dependency_links.txt
/usr/lib/python2.7/site-packages/WebTest-1.3.4-py2.7.egg-info/entry_points.txt
/usr/lib/python2.7/site-packages/WebTest-1.3.4-py2.7.egg-info/not-zip-safe
/usr/lib/python2.7/site-packages/WebTest-1.3.4-py2.7.egg-info/requires.txt
/usr/lib/python2.7/site-packages/WebTest-1.3.4-py2.7.egg-info/top_level.txt
/usr/lib/python2.7/site-packages/webtest
/usr/lib/python2.7/site-packages/webtest/__init__.py
/usr/lib/python2.7/site-packages/webtest/__init__.pyc
/usr/lib/python2.7/site-packages/webtest/__init__.pyo
/usr/lib/python2.7/site-packages/webtest/app.py
/usr/lib/python2.7/site-packages/webtest/app.pyc
/usr/lib/python2.7/site-packages/webtest/app.pyo
/usr/lib/python2.7/site-packages/webtest/compat.py
/usr/lib/python2.7/site-packages/webtest/compat.pyc
/usr/lib/python2.7/site-packages/webtest/compat.pyo
/usr/lib/python2.7/site-packages/webtest/debugapp.py
/usr/lib/python2.7/site-packages/webtest/debugapp.pyc
/usr/lib/python2.7/site-packages/webtest/debugapp.pyo
/usr/lib/python2.7/site-packages/webtest/lint.py
/usr/lib/python2.7/site-packages/webtest/lint.pyc
/usr/lib/python2.7/site-packages/webtest/lint.pyo
/usr/lib/python2.7/site-packages/webtest/lint3.py
/usr/lib/python2.7/site-packages/webtest/lint3.pyc
/usr/lib/python2.7/site-packages/webtest/lint3.pyo
/usr/lib/python2.7/site-packages/webtest/sel.py
/usr/lib/python2.7/site-packages/webtest/sel.pyc
/usr/lib/python2.7/site-packages/webtest/sel.pyo
/usr/share/doc/python-webtest-1.3.4
/usr/share/doc/python-webtest-1.3.4/_build
/usr/share/doc/python-webtest-1.3.4/_build/chipy-presentation
/usr/share/doc/python-webtest-1.3.4/_build/chipy-presentation/about.html
/usr/share/doc/python-webtest-1.3.4/_build/chipy-presentation/comparisons.html
/usr/share/doc/python-webtest-1.3.4/_build/chipy-presentation/proxy_example.html
/usr/share/doc/python-webtest-1.3.4/_build/genindex.html
/usr/share/doc/python-webtest-1.3.4/_build/index.html
/usr/share/doc/python-webtest-1.3.4/_build/license.html
/usr/share/doc/python-webtest-1.3.4/_build/modules
/usr/share/doc/python-webtest-1.3.4/_build/modules/sel.html
/usr/share/doc/python-webtest-1.3.4/_build/modules/webtest.html
/usr/share/doc/python-webtest-1.3.4/_build/news.html
/usr/share/doc/python-webtest-1.3.4/_build/py-modindex.html
/usr/share/doc/python-webtest-1.3.4/_build/search.html
/usr/share/doc/python-webtest-1.3.4/chipy-presentation
/usr/share/doc/python-webtest-1.3.4/chipy-presentation/about.txt
/usr/share/doc/python-webtest-1.3.4/chipy-presentation/comparisons.txt
/usr/share/doc/python-webtest-1.3.4/chipy-presentation/proxy_example.txt
/usr/share/doc/python-webtest-1.3.4/conf.py
/usr/share/doc/python-webtest-1.3.4/index.txt
/usr/share/doc/python-webtest-1.3.4/license.txt
/usr/share/doc/python-webtest-1.3.4/modules
/usr/share/doc/python-webtest-1.3.4/modules/sel.txt
/usr/share/doc/python-webtest-1.3.4/modules/webtest.txt
/usr/share/doc/python-webtest-1.3.4/news.txt

References

Summary

In this tutorial we learn how to install python-webtest.noarch on Amazon Linux 2 using yum.