summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_urlparse.py
diff options
context:
space:
mode:
authorSenthil Kumaran <orsenthil@gmail.com>2010-05-13 03:32:26 (GMT)
committerSenthil Kumaran <orsenthil@gmail.com>2010-05-13 03:32:26 (GMT)
commitb87d04fc964c97ad57f6e1bd6865ec28518b6f22 (patch)
tree71a3e8060a05948fe4b52af34122c9096bc22f93 /Lib/test/test_urlparse.py
parent838edd8bc6e22db46e2431e499c963e27ee76652 (diff)
downloadcpython-b87d04fc964c97ad57f6e1bd6865ec28518b6f22.zip
cpython-b87d04fc964c97ad57f6e1bd6865ec28518b6f22.tar.gz
cpython-b87d04fc964c97ad57f6e1bd6865ec28518b6f22.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/test_urlparse.py')
-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 2879ccd..0225e3b 100644
--- a/Lib/test/test_urlparse.py
+++ b/Lib/test/test_urlparse.py
@@ -100,7 +100,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)