From b2ed6e4761243f84ab5ddc68fb100ae1ca63c827 Mon Sep 17 00:00:00 2001 From: Mark Seaborn Date: Thu, 23 Oct 2008 18:24:49 +0100 Subject: [PATCH] If http_proxy is set it can cause the download tests to fail --- tests/testdownload.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/testdownload.py b/tests/testdownload.py index 1add471..da995b3 100755 --- a/tests/testdownload.py +++ b/tests/testdownload.py @@ -7,6 +7,9 @@ from logging import getLogger, DEBUG, INFO, WARN, ERROR sys.path.insert(0, '..') +# If http_proxy is set it can cause the download tests to fail. +os.environ["http_proxy"] = "" + from zeroinstall.injector import model, autopolicy, gpg, iface_cache, download, reader, trust, handler, background, arch, selections, qdom from zeroinstall.zerostore import Store; Store._add_with_helper = lambda *unused: False from zeroinstall.support import basedir, tasks -- 2.11.4.GIT