]> granicus.if.org Git - python/commitdiff
add svn+ssh testcase for urljoin.
authorSenthil Kumaran <senthil@uthcode.com>
Wed, 3 Aug 2011 14:06:05 +0000 (22:06 +0800)
committerSenthil Kumaran <senthil@uthcode.com>
Wed, 3 Aug 2011 14:06:05 +0000 (22:06 +0800)
Lib/test/test_urlparse.py

index e9763492c0b284048691fb41157d19e6c1ef64fa..c690a67e985d6fbc4ed98fef5349fcc43f4662ac 100644 (file)
@@ -340,6 +340,7 @@ class UrlParseTestCase(unittest.TestCase):
         self.checkJoin('', 'http://a/b/c/g?y/./x','http://a/b/c/g?y/./x')
         self.checkJoin('', 'http://a/./g', 'http://a/./g')
         self.checkJoin('svn://pathtorepo/dir1','dir2','svn://pathtorepo/dir2')
+        self.checkJoin('svn+ssh://pathtorepo/dir1','dir2','svn+ssh://pathtorepo/dir2')
 
     def test_RFC2732(self):
         for url, hostname, port in [