diff tests/test_urls.py @ 475:15443c592f7a

Remove the svn+ from svn+https urls before calling the Subversion API. This was already being done for svn+http urls.
author David Stanek <dstanek@dstanek.com>
date Mon, 20 Jul 2009 16:00:37 -0400
parents 5567af673f83
children 2cc1342d4476
line wrap: on
line diff
--- a/tests/test_urls.py
+++ b/tests/test_urls.py
@@ -56,6 +56,9 @@ class TestSvnRepo(test_util.TestBase):
         repo = svnrepo.svnremoterepo(ui, 'svn+http://joe@foo/bar')
         self.assertEqual(('http://foo/bar', 'bob', None), repo.svnauth)
 
+        repo = svnrepo.svnremoterepo(ui, 'svn+https://joe@foo/bar')
+        self.assertEqual(('https://foo/bar', 'bob', None), repo.svnauth)
+
 def suite():
     all = [unittest.TestLoader().loadTestsFromTestCase(TestSubversionUrls)]
     return unittest.TestSuite(all)