[Checkins] SVN: GenericSetup/trunk/tests/common.py -fixed version
test (FiveTraversable was readded in Zope 2.10)
Yvo Schubbe
y.2006_ at wcm-solutions.de
Fri Jul 21 06:44:39 EDT 2006
Log message for revision 69230:
-fixed version test (FiveTraversable was readded in Zope 2.10)
Changed:
U GenericSetup/trunk/tests/common.py
-=-
Modified: GenericSetup/trunk/tests/common.py
===================================================================
--- GenericSetup/trunk/tests/common.py 2006-07-20 16:09:03 UTC (rev 69229)
+++ GenericSetup/trunk/tests/common.py 2006-07-21 10:44:38 UTC (rev 69230)
@@ -54,11 +54,12 @@
from AccessControl.SecurityManagement import newSecurityManager
ZopeTestCase.setUp(self)
try:
- # BBB: for Zope 2.9
- from Products.Five.traversable import FiveTraversable
- except ImportError:
+ import zope.traversing
zcml.load_config('meta.zcml', Products.Five)
zcml.load_config('traversing.zcml', Products.Five)
+ except ImportError:
+ # BBB: for Zope 2.9
+ pass
self.root = self.app
newSecurityManager(None, OmnipotentUser().__of__(self.app.acl_users))
More information about the Checkins
mailing list