mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Fix Issue8657 - adding git and git+ssh as know schemes.
This commit is contained in:
parent
62f7e8b0b8
commit
81a0450cb5
2 changed files with 7 additions and 2 deletions
|
@ -103,7 +103,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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue