From 8262c97ef9e67b39c966fe974454da8bd6653d4a Mon Sep 17 00:00:00 2001 From: "Pradyun S. Gedam" Date: Wed, 22 Jun 2016 22:45:47 +0530 Subject: [PATCH] Update http urls to use https instead --- tests/functional/test_install_upgrade.py | 4 ++-- tests/functional/test_search.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/functional/test_install_upgrade.py b/tests/functional/test_install_upgrade.py index 8762bcac6a2..f4a78f0ca7c 100644 --- a/tests/functional/test_install_upgrade.py +++ b/tests/functional/test_install_upgrade.py @@ -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, ) @@ -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, ) diff --git a/tests/functional/test_search.py b/tests/functional/test_search.py index c81e4cc0070..b376cf617ac 100644 --- a/tests/functional/test_search.py +++ b/tests/functional/test_search.py @@ -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 @@ -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