[Python-checkins] cpython (2.7): add svn+ssh testcase for urljoin.

senthil.kumaran python-checkins at python.org
Wed Aug 3 16:10:43 CEST 2011


http://hg.python.org/cpython/rev/5a0726fcb18a
changeset:   71737:5a0726fcb18a
branch:      2.7
parent:      71731:aa9342093199
user:        Senthil Kumaran <senthil at uthcode.com>
date:        Wed Aug 03 22:06:05 2011 +0800
summary:
  add svn+ssh testcase for urljoin.

files:
  Lib/test/test_urlparse.py |  1 +
  1 files changed, 1 insertions(+), 0 deletions(-)


diff --git a/Lib/test/test_urlparse.py b/Lib/test/test_urlparse.py
--- a/Lib/test/test_urlparse.py
+++ b/Lib/test/test_urlparse.py
@@ -340,6 +340,7 @@
         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 [

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list