test suite requires a proxy that is external to test environment
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Software Updater |
New
|
Undecided
|
Unassigned |
Bug Description
cd tests; make
you get this failure:
=======
FAIL: test_url_
-------
Traceback (most recent call last):
File "./test_
"download with proxy %s failed" % os.environ[
AssertionError: download with proxy http://
I think the problem is that the tests expect a local mirror proxy to be running, and that the proxy be started outside of the test environment (i.e. manually, before running 'make'). This makes the test too fragile to rely on.
Any required proxy should be started and shutdown in the test suite itself.