summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Smith <qwcode@gmail.com>2013-02-18 22:11:17 -0800
committerMarcus Smith <qwcode@gmail.com>2013-02-18 22:11:17 -0800
commit68d380c3eda7360022e19caee441a9da2406f4bd (patch)
treed2cb2ff9eb68b3b53571e26ce2da9caadd1eb516
parentbeb9dead6bc58ee29fdf4316b05feb0be3a46832 (diff)
downloadpip-68d380c3eda7360022e19caee441a9da2406f4bd.tar.gz
fix in response to pypi redirecting http to https
-rw-r--r--tests/test_finder.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_finder.py b/tests/test_finder.py
index ae2a40933..d4c046b56 100644
--- a/tests/test_finder.py
+++ b/tests/test_finder.py
@@ -89,10 +89,10 @@ def test_finder_priority_file_over_page():
def test_finder_priority_page_over_deplink():
"""Test PackageFinder prefers page links over equivalent dependency links"""
req = InstallRequirement.from_line('gmpy==1.15', None)
- finder = PackageFinder([], ["http://pypi.python.org/simple"])
- finder.add_dependency_links(['http://c.pypi.python.org/simple/gmpy/'])
+ finder = PackageFinder([], ["https://pypi.python.org/simple"])
+ finder.add_dependency_links(['https://c.pypi.python.org/simple/gmpy/'])
link = finder.find_requirement(req, False)
- assert link.url.startswith("http://pypi")
+ assert link.url.startswith("https://pypi"), link
def test_finder_priority_nonegg_over_eggfragments():