summaryrefslogtreecommitdiff
path: root/tests/test_pip.py
diff options
context:
space:
mode:
authorJannis Leidel <jannis@leidel.info>2012-03-13 23:42:03 -0700
committerJannis Leidel <jannis@leidel.info>2012-03-13 23:42:03 -0700
commit6d9725a0bfd4070f62c3fd148e604018ef229d5e (patch)
tree75a98d04987c9f82c6100bfdead09ca4ad541bac /tests/test_pip.py
parentd8cfa877c5ddc2ff1adce76dd2fd0778943edba6 (diff)
downloadpip-feature/ssl-mirror-requests.tar.gz
Adopted requests and added pep381 verification.feature/ssl-mirror-requests
Diffstat (limited to 'tests/test_pip.py')
-rw-r--r--tests/test_pip.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_pip.py b/tests/test_pip.py
index 17e8f6616..8f66b4f22 100644
--- a/tests/test_pip.py
+++ b/tests/test_pip.py
@@ -23,6 +23,7 @@ download_cache = tempfile.mkdtemp(prefix='pip-test-cache')
site_packages_suffix = site.USER_SITE[len(site.USER_BASE) + 1:]
+
def path_to_url(path):
"""
Convert a path to URI. The path will be made absolute and
@@ -278,6 +279,7 @@ class TestPipEnvironment(TestFileEnvironment):
environ['PIP_NO_INPUT'] = '1'
environ['PIP_LOG_FILE'] = str(self.root_path/'pip-log.txt')
+ environ['PIP_USE_MIRRORS'] = 'false'
super(TestPipEnvironment, self).__init__(
self.root_path, ignore_hidden=False,