summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/tests/test_upload.py
diff options
context:
space:
mode:
authorDonald Stufft <donald@stufft.io>2016-08-03 22:49:19 (GMT)
committerDonald Stufft <donald@stufft.io>2016-08-03 22:49:19 (GMT)
commitef330d35c8223157cf2d395915efbdce41a3173f (patch)
treea095c40ebfc57b9b57e9fae42cda6336a74a4a45 /Lib/distutils/tests/test_upload.py
parentbed6891c7761888a2ea7b46c7b703c942e14091b (diff)
parentc6c2217f2770c3791310a930a05eb4e60bb33282 (diff)
downloadcpython-ef330d35c8223157cf2d395915efbdce41a3173f.zip
cpython-ef330d35c8223157cf2d395915efbdce41a3173f.tar.gz
cpython-ef330d35c8223157cf2d395915efbdce41a3173f.tar.bz2
Merge 3.4
Diffstat (limited to 'Lib/distutils/tests/test_upload.py')
-rw-r--r--Lib/distutils/tests/test_upload.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/distutils/tests/test_upload.py b/Lib/distutils/tests/test_upload.py
index ce61b9e..2cb2f6c 100644
--- a/Lib/distutils/tests/test_upload.py
+++ b/Lib/distutils/tests/test_upload.py
@@ -93,7 +93,7 @@ class uploadTestCase(BasePyPIRCCommandTestCase):
cmd.finalize_options()
for attr, waited in (('username', 'me'), ('password', 'secret'),
('realm', 'pypi'),
- ('repository', 'https://upload.pypi.io/legacy/')):
+ ('repository', 'https://upload.pypi.org/legacy/')):
self.assertEqual(getattr(cmd, attr), waited)
def test_saved_password(self):
@@ -134,7 +134,7 @@ class uploadTestCase(BasePyPIRCCommandTestCase):
content_type = headers['Content-type']
self.assertTrue(content_type.startswith('multipart/form-data'))
self.assertEqual(self.last_open.req.get_method(), 'POST')
- expected_url = 'https://upload.pypi.io/legacy/'
+ expected_url = 'https://upload.pypi.org/legacy/'
self.assertEqual(self.last_open.req.get_full_url(), expected_url)
self.assertTrue(b'xxx' in self.last_open.req.data)
self.assertIn(b'protocol_version', self.last_open.req.data)