summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorSenthil Kumaran <orsenthil@gmail.com>2010-05-13 03:37:23 (GMT)
committerSenthil Kumaran <orsenthil@gmail.com>2010-05-13 03:37:23 (GMT)
commitead169d3114ed0f1041b5b59ca20293449608c50 (patch)
tree9d7408c8d13cb047b4d33213729ea24da5d538ff /Lib/test
parent91f021fb702ba1a98b02e8c9996ee0eb51714d99 (diff)
downloadcpython-ead169d3114ed0f1041b5b59ca20293449608c50.zip
cpython-ead169d3114ed0f1041b5b59ca20293449608c50.tar.gz
cpython-ead169d3114ed0f1041b5b59ca20293449608c50.tar.bz2
Merged revisions 81130 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r81130 | senthil.kumaran | 2010-05-13 08:55:21 +0530 (Thu, 13 May 2010) | 3 lines Fix Issue8657 - adding git and git+ssh as know schemes. ........
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/test_urlparse.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/Lib/test/test_urlparse.py b/Lib/test/test_urlparse.py
index e930e19..400decd 100644
--- a/Lib/test/test_urlparse.py
+++ b/Lib/test/test_urlparse.py
@@ -104,7 +104,12 @@ class UrlParseTestCase(unittest.TestCase):
('svn+ssh', 'svn.zope.org', '/repos/main/ZConfig/trunk/',
'', '', ''),
('svn+ssh', 'svn.zope.org', '/repos/main/ZConfig/trunk/',
- '', ''))
+ '', '')),
+ ('git+ssh://git@github.com/user/project.git',
+ ('git+ssh', 'git@github.com','/user/project.git',
+ '','',''),
+ ('git+ssh', 'git@github.com','/user/project.git',
+ '', ''))
]
for url, parsed, split in testcases:
self.checkRoundtrips(url, parsed, split)