[Checkins] SVN: Products.CMFCore/trunk/Products/CMFCore/ Changed testing.py to directly load zope.traversing's ZCML instead of going via the Five traversing.zcml BBB shim.

Hanno Schlichting hannosch at hannosch.eu
Mon Aug 3 08:08:38 EDT 2009


Log message for revision 102453:
  Changed testing.py to directly load zope.traversing's ZCML instead of going via the Five traversing.zcml BBB shim.
  

Changed:
  U   Products.CMFCore/trunk/Products/CMFCore/CHANGES.txt
  U   Products.CMFCore/trunk/Products/CMFCore/testing.py

-=-
Modified: Products.CMFCore/trunk/Products/CMFCore/CHANGES.txt
===================================================================
--- Products.CMFCore/trunk/Products/CMFCore/CHANGES.txt	2009-08-03 03:57:32 UTC (rev 102452)
+++ Products.CMFCore/trunk/Products/CMFCore/CHANGES.txt	2009-08-03 12:08:38 UTC (rev 102453)
@@ -4,6 +4,9 @@
 2.2.0 (unreleased)
 ------------------
 
+- Changed testing.py to directly load zope.traversing's ZCML instead of going
+  via the Five traversing.zcml BBB shim.
+
 - moved the Zope dependency to version 2.12.0b3dev
 
 - PortalFolder: Modified allowedContentTypes method to check 

Modified: Products.CMFCore/trunk/Products/CMFCore/testing.py
===================================================================
--- Products.CMFCore/trunk/Products/CMFCore/testing.py	2009-08-03 03:57:32 UTC (rev 102452)
+++ Products.CMFCore/trunk/Products/CMFCore/testing.py	2009-08-03 12:08:38 UTC (rev 102453)
@@ -112,9 +112,10 @@
     @classmethod
     def testSetUp(cls):
         import Products.Five
+        import zope.traversing
 
         zcml.load_config('meta.zcml', Products.Five)
-        zcml.load_config('traversing.zcml', Products.Five)
+        zcml.load_config('configure.zcml', zope.traversing)
         setHooks()
 
     @classmethod



More information about the Checkins mailing list