diff options
author | Fred Drake <fdrake@acm.org> | 2005-07-29 15:56:32 +0000 |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2005-07-29 15:56:32 +0000 |
commit | 50747fc1b9985e857ef6138bcb9b24257aefc949 (patch) | |
tree | 1644a6b08d4ccfecb83c83417adbaf537db9daff /Lib/test/test_urlparse.py | |
parent | c320c22f79b8f5af7d3fe4e05b1ea6eaf15a4c8b (diff) | |
download | cpython-50747fc1b9985e857ef6138bcb9b24257aefc949.tar.gz cpython-50747fc1b9985e857ef6138bcb9b24257aefc949.zip |
add support for svn: and svn+ssh: URL schemes to urlparse
Diffstat (limited to 'Lib/test/test_urlparse.py')
-rw-r--r-- | Lib/test/test_urlparse.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Lib/test/test_urlparse.py b/Lib/test/test_urlparse.py index 04572ba60df..39ada069256 100644 --- a/Lib/test/test_urlparse.py +++ b/Lib/test/test_urlparse.py @@ -35,6 +35,11 @@ class UrlParseTestCase(unittest.TestCase): '', '', ''), ('mms', 'wms.sys.hinet.net', '/cts/Drama/09006251100.asf', '', '')), + ('svn+ssh://svn.zope.org/repos/main/ZConfig/trunk/', + ('svn+ssh', 'svn.zope.org', '/repos/main/ZConfig/trunk/', + '', '', ''), + ('svn+ssh', 'svn.zope.org', '/repos/main/ZConfig/trunk/', + '', '')) ] for url, parsed, split in testcases: self.checkRoundtrips(url, parsed, split) |