How to Install and Uninstall python-webunit Package on openSUSE Leap

Last updated: May 22,2024

1. Install "python-webunit" package

This tutorial shows how to install python-webunit on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install python-webunit

2. Uninstall "python-webunit" package

This is a short guide on how to uninstall python-webunit on openSUSE Leap:

$ sudo zypper remove python-webunit

3. Information about the python-webunit package on openSUSE Leap

Information for package python-webunit:
---------------------------------------
Repository : Main Repository
Name : python-webunit
Version : 1.3.10-bp153.1.12
Arch : noarch
Vendor : openSUSE
Installed Size : 141,4 KiB
Installed : No
Status : not installed
Source package : python-webunit-1.3.10-bp153.1.12.src
Summary : Unit test your websites with code that acts like a web browser
Description :
This release includes:
- send correct newline in mimeEncode (thanks Ivan Kurmanov)
- handle Max-Age set to 0 (thanks Matt Chisholm)
Webunit is a framework for unit testing websites:
- Browser-like page fetching including fetching the images and stylesheets
needed for a page and following redirects
- Cookies stored and trackable (all automatically handled)
- HTTP, HTTPS, GET, POST, basic auth all handled, control over expected
status codes, ...
- DOM parsing of pages to retrieve and analyse structure, including simple
form re-posting
- Two-line page-fetch followed by form-submit possible, with error checking
- Ability to register error page content across multiple tests
- Uses python's standard unittest module as the underlying framework
- May also be used to regression-test sites, or ensure their ongoing
operation once in production (testing login processes work, etc.)