[Zope-CVS] CVS: Packages/zpkgtools/zpkgtools/tests - test_loader.py:1.3

Fred L. Drake, Jr. fred at zope.com
Tue Apr 27 12:37:29 EDT 2004


Update of /cvs-repository/Packages/zpkgtools/zpkgtools/tests
In directory cvs.zope.org:/tmp/cvs-serv17823

Modified Files:
	test_loader.py 
Log Message:
add some tests for the loader's handling of "svn:" and "svn+ssh:" URLs


=== Packages/zpkgtools/zpkgtools/tests/test_loader.py 1.2 => 1.3 ===
--- Packages/zpkgtools/zpkgtools/tests/test_loader.py:1.2	Fri Apr 23 15:56:13 2004
+++ Packages/zpkgtools/zpkgtools/tests/test_loader.py	Tue Apr 27 12:37:29 2004
@@ -74,6 +74,14 @@
            "repository:path/:tag")
         eq(convert("repository:/some/path/:tag"),
            "repository:/some/path/:tag")
+        eq(convert("svn://example.org/path/to/svnroot/tags/foo/file.txt"),
+           "svn://example.org/path/to/svnroot/tags/foo/file.txt")
+        eq(convert("svn://example.org/path/to/svnroot/branches/foo/file.txt"),
+           "svn://example.org/path/to/svnroot/branches/foo/file.txt")
+        eq(convert("svn+ssh://example.org/path/to/svnroot/tags/foo/file.txt"),
+           "svn+ssh://example.org/path/to/svnroot/tags/foo/file.txt")
+        eq(convert("svn+ssh://example.org/path/to/svnroot/branches/foo/file"),
+           "svn+ssh://example.org/path/to/svnroot/branches/foo/file")
         # not really a URL, but a supported tagless thing
         eq(convert("local/path/reference.conf"),
            "local/path/reference.conf")




More information about the Zope-CVS mailing list