提交 41a3e2a1 编写于 作者: I Ian Bicking

Change pypi.appspot.com to b.pypi.python.org in the tests, as pypi.appspot.com...

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 ;)
上级 db723404
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册