Skip to content

Commit

Permalink
Update http urls to use https instead (#3808)
Browse files Browse the repository at this point in the history
  • Loading branch information
pradyunsg authored and dstufft committed Jun 22, 2016
1 parent 218fe03 commit e04941b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tests/functional/test_install_upgrade.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def test_uninstall_before_upgrade_from_url(script):
)
result2 = script.pip(
'install',
'http://pypi.python.org/packages/source/I/INITools/INITools-'
'https://pypi.python.org/packages/source/I/INITools/INITools-'
'0.3.tar.gz',
expect_error=True,
)
Expand All @@ -140,7 +140,7 @@ def test_upgrade_to_same_version_from_url(script):
)
result2 = script.pip(
'install',
'http://pypi.python.org/packages/source/I/INITools/INITools-'
'https://pypi.python.org/packages/source/I/INITools/INITools-'
'0.3.tar.gz',
expect_error=True,
)
Expand Down
4 changes: 2 additions & 2 deletions tests/functional/test_search.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ def test_run_method_should_return_success_when_find_packages():
Test SearchCommand.run for found package
"""
command = SearchCommand()
cmdline = "--index=http://pypi.python.org/pypi pip"
cmdline = "--index=https://pypi.python.org/pypi pip"
options, args = command.parse_args(cmdline.split())
status = command.run(options, args)
assert status == SUCCESS
Expand All @@ -152,7 +152,7 @@ def test_run_method_should_return_no_matches_found_when_does_not_find_pkgs():
Test SearchCommand.run for no matches
"""
command = SearchCommand()
cmdline = "--index=http://pypi.python.org/pypi nonexistentpackage"
cmdline = "--index=https://pypi.python.org/pypi nonexistentpackage"
options, args = command.parse_args(cmdline.split())
status = command.run(options, args)
assert status == NO_MATCHES_FOUND
Expand Down

0 comments on commit e04941b

Please sign in to comment.