Log message for revision 68984:
  Make tests pass with zope 2.10.
  

Changed:
  U   CMF/trunk/DCWorkflow/tests/test_exportimport.py

-=-
Modified: CMF/trunk/DCWorkflow/tests/test_exportimport.py
===================================================================
--- CMF/trunk/DCWorkflow/tests/test_exportimport.py     2006-07-05 17:13:18 UTC 
(rev 68983)
+++ CMF/trunk/DCWorkflow/tests/test_exportimport.py     2006-07-05 17:14:54 UTC 
(rev 68984)
@@ -81,6 +81,14 @@
         setUpGenericSetup()
         zcml.load_config('permissions.zcml', Products.Five)
         zcml.load_config('configure.zcml', Products.DCWorkflow)
+        try:
+            import zope.traversing
+        except ImportError:
+            # BBB: Zope < 2.10
+            pass
+        else:
+            # Traversal adapters are needed for TALES
+            zcml.load_config('configure.zcml', zope.traversing)
 
     def _initDCWorkflow( self, workflow_id ):
 

_______________________________________________
CMF-checkins mailing list
[email protected]
http://mail.zope.org/mailman/listinfo/cmf-checkins

Reply via email to