[Zope-CVS] SVN: zpkgtools/trunk/zpkgtools/tests/ remove historical cruftiness

Fred L. Drake, Jr. fdrake at gmail.com
Mon Aug 29 10:39:01 EDT 2005


Log message for revision 38137:
  remove historical cruftiness

Changed:
  U   zpkgtools/trunk/zpkgtools/tests/input/packages.map
  U   zpkgtools/trunk/zpkgtools/tests/test_locationmap.py

-=-
Modified: zpkgtools/trunk/zpkgtools/tests/input/packages.map
===================================================================
--- zpkgtools/trunk/zpkgtools/tests/input/packages.map	2005-08-29 14:29:57 UTC (rev 38136)
+++ zpkgtools/trunk/zpkgtools/tests/input/packages.map	2005-08-29 14:39:01 UTC (rev 38137)
@@ -1,6 +1,6 @@
 # This is the resource map for the test packages.
 
-collection:collection-1  collection-1/
-collection:collection-2  collection-2/
+collection-1  collection-1/
+collection-2  collection-2/
 
-package                  package/
+package       package/

Modified: zpkgtools/trunk/zpkgtools/tests/test_locationmap.py
===================================================================
--- zpkgtools/trunk/zpkgtools/tests/test_locationmap.py	2005-08-29 14:29:57 UTC (rev 38136)
+++ zpkgtools/trunk/zpkgtools/tests/test_locationmap.py	2005-08-29 14:39:01 UTC (rev 38137)
@@ -87,9 +87,9 @@
         url = urlutils.file_url(fn)
         map = locationmap.fromPathOrUrl(url)
         base = urlutils.file_url(dirname)
-        self.assertEqual(map["collection:collection-1"],
+        self.assertEqual(map["collection-1"],
                          base + "/collection-1/")
-        self.assertEqual(map["collection:collection-2"],
+        self.assertEqual(map["collection-2"],
                          base + "/collection-2/")
 
     def test_fromPathOrUrl_with_path(self):
@@ -105,9 +105,9 @@
             # check the map:
             map = locationmap.fromPathOrUrl(output)
             base = urlutils.file_url(dirpath)
-            self.assertEqual(map["collection:collection-1"],
+            self.assertEqual(map["collection-1"],
                              base + "/collection-1/")
-            self.assertEqual(map["collection:collection-2"],
+            self.assertEqual(map["collection-2"],
                              base + "/collection-2/")
         finally:
             shutil.rmtree(dirpath)



More information about the Zope-CVS mailing list