1
1
Fork 0
mirror of https://github.com/pypa/pip synced 2023-12-13 21:30:23 +01:00

Change pypi.appspot.com to b.pypi.python.org in the tests, as pypi.appspot.com is gone and the site owner was annoyed with all the testing requests ;)

This commit is contained in:
Ian Bicking 2011-03-31 17:55:44 -05:00
parent db723404d4
commit 41a3e2a1b6

View file

@ -23,13 +23,13 @@ def test_command_line_options_override_env_vars():
"""
environ = clear_environ(os.environ.copy())
environ['PIP_INDEX_URL'] = 'http://pypi.appspot.com/'
environ['PIP_INDEX_URL'] = 'http://b.pypi.python.org/simple/'
reset_env(environ)
result = run_pip('install', '-vvv', 'INITools', expect_error=True)
assert "Getting page http://pypi.appspot.com/INITools" in result.stdout
assert "Getting page http://b.pypi.python.org/simple/INITools" in result.stdout
reset_env(environ)
result = run_pip('install', '-vvv', '--index-url', 'http://download.zope.org/ppix', 'INITools', expect_error=True)
assert "http://pypi.appspot.com/INITools" not in result.stdout
assert "b.pypi.python.org" not in result.stdout
assert "Getting page http://download.zope.org/ppix" in result.stdout