diff options
| author | Antoine Pitrou <solipsis@pitrou.net> | 2013-12-22 01:45:42 +0100 |
|---|---|---|
| committer | Antoine Pitrou <solipsis@pitrou.net> | 2013-12-22 01:45:42 +0100 |
| commit | 13766f65fc959da18e5d775ceb7a25ed71ed401e (patch) | |
| tree | 071352beb8e8a26a59cbea6d221885bed7e3eb22 /tests/test_upload.py | |
| parent | 17a7b8192a8fcba2649854c844ae22fa0f512085 (diff) | |
| parent | 9f4a8134cd20941bd90e6419948c7bdc83475ad0 (diff) | |
| download | python-setuptools-git-13766f65fc959da18e5d775ceb7a25ed71ed401e.tar.gz | |
Issue #12226: HTTPS is now used by default when connecting to PyPI.
Diffstat (limited to 'tests/test_upload.py')
| -rw-r--r-- | tests/test_upload.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_upload.py b/tests/test_upload.py index df35b429..fbf80e38 100644 --- a/tests/test_upload.py +++ b/tests/test_upload.py @@ -77,7 +77,7 @@ class uploadTestCase(PyPIRCCommandTestCase): cmd.finalize_options() for attr, waited in (('username', 'me'), ('password', 'secret'), ('realm', 'pypi'), - ('repository', 'http://pypi.python.org/pypi')): + ('repository', 'https://pypi.python.org/pypi')): self.assertEqual(getattr(cmd, attr), waited) def test_saved_password(self): @@ -117,7 +117,7 @@ class uploadTestCase(PyPIRCCommandTestCase): self.assertTrue(headers['Content-type'].startswith('multipart/form-data')) self.assertEqual(self.last_open.req.get_method(), 'POST') self.assertEqual(self.last_open.req.get_full_url(), - 'http://pypi.python.org/pypi') + 'https://pypi.python.org/pypi') self.assertIn(b'xxx', self.last_open.req.data) def test_suite(): |
