[Zope-CVS] CVS: Packages/zpkgtools/zpkgtools/tests -
test_cvsloader.py:1.11
Fred L. Drake, Jr.
fred at zope.com
Wed Apr 21 17:01:50 EDT 2004
Update of /cvs-repository/Packages/zpkgtools/zpkgtools/tests
In directory cvs.zope.org:/tmp/cvs-serv13327/tests
Modified Files:
test_cvsloader.py
Log Message:
fix bug in RepositoryUrl.getUrl()
=== Packages/zpkgtools/zpkgtools/tests/test_cvsloader.py 1.10 => 1.11 ===
--- Packages/zpkgtools/zpkgtools/tests/test_cvsloader.py:1.10 Mon Apr 19 23:37:24 2004
+++ Packages/zpkgtools/zpkgtools/tests/test_cvsloader.py Wed Apr 21 17:01:49 2004
@@ -68,6 +68,10 @@
self.assertEqual(repo.getUrl(), "repository:/absolute/path")
repo.tag = "TAG"
self.assertEqual(repo.getUrl(), "repository:/absolute/path:TAG")
+ repo.path = None
+ self.assertEqual(repo.getUrl(), "repository::TAG")
+ repo.tag = None
+ self.assertEqual(repo.getUrl(), "repository:")
def test_repository_join_absolute_path(self):
repo = cvsloader.RepositoryUrl("/absolute/path")
More information about the Zope-CVS
mailing list