Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1590570

Summary: Replace thttpd use in tests with a simple Python equivalent
Product: [Retired] Restraint Reporter: Roman Joost <rjoost>
Component: generalAssignee: Roman Joost <rjoost>
Status: CLOSED CURRENTRELEASE QA Contact: Matt Tyson 🤬 <mtyson>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: masterCC: asavkov, bpeck, dcallagh, mtyson, rjoost
Target Milestone: 0.1.36   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-09-17 05:53:10 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Roman Joost 2018-06-12 23:14:59 UTC
Restraints functional tests currently depend on thttpd to serve files. There is at this point no real advantage over depending on thttpd any more, thus the proposal to replace it with a self maintained Python equivalent.

Tasks to accomplish:

* Check what purpose the thttpd part serves within the restraint test suite (e.g. does it more than just serve files)
* Replace thttpd with a Python web server (SimpleHTTPServer), based on Python 2.7

Comment 1 Matt Tyson 🤬 2018-07-05 03:40:36 UTC
The new python HTTP server will serve files to the test suite as expected.

Comment 2 Dan Callaghan 2018-09-17 05:53:10 UTC
Restraint 0.1.36 was released on 24 August.