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

Last updated: November 26,2024

1. Install "python3-pytest-localserver" package

Here is a brief guide to show you how to install python3-pytest-localserver on openSUSE Leap

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

2. Uninstall "python3-pytest-localserver" package

Please follow the guidelines below to uninstall python3-pytest-localserver on openSUSE Leap:

$ sudo zypper remove python3-pytest-localserver

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

Information for package python3-pytest-localserver:
---------------------------------------------------
Repository : Main Repository
Name : python3-pytest-localserver
Version : 0.5.0-1.19
Arch : noarch
Vendor : SUSE LLC
Installed Size : 65.0 KiB
Installed : No
Status : not installed
Source package : python-pytest-localserver-0.5.0-1.19.src
Upstream URL : https://bitbucket.org/pytest-dev/pytest-localserver
Summary : Plugin for py.test to test server connections locally
Description :
The pytest-localserver package is a plugin for the `pytest`_ testing framework
which enables you to test server connections locally.
Sometimes `monkeypatching`_ ``urllib2.urlopen()`` just does not cut it, for
instance if you work with ``urllib2.Request``, define your own openers/handlers
or work with ``httplib``. In these cases it may come in handy to have an HTTP
server running locally which behaves just like the real thing. Well, look
no further!