[CMF-checkins] SVN: CMF/trunk/CMFDefault/tests/RegistrationTool.txt
- fixed tests (Zope 2.10 needs traversing set up)
Yvo Schubbe
y.2006_ at wcm-solutions.de
Sun Oct 15 11:57:56 EDT 2006
Log message for revision 70658:
- fixed tests (Zope 2.10 needs traversing set up)
Changed:
U CMF/trunk/CMFDefault/tests/RegistrationTool.txt
-=-
Modified: CMF/trunk/CMFDefault/tests/RegistrationTool.txt
===================================================================
--- CMF/trunk/CMFDefault/tests/RegistrationTool.txt 2006-10-15 15:02:07 UTC (rev 70657)
+++ CMF/trunk/CMFDefault/tests/RegistrationTool.txt 2006-10-15 15:57:56 UTC (rev 70658)
@@ -89,8 +89,11 @@
... return util.translate(msgid, mapping, context,
... target_language, default)
- And have to set up security and dummy translations::
+ And have to set up traversing, security and dummy translations::
+ >>> from Products.CMFCore.tests.base.testcase import setUpTraversing
+ >>> setUpTraversing()
+
>>> from AccessControl.SecurityManagement import newSecurityManager
>>> from AccessControl.User import UnrestrictedUser
>>> newSecurityManager(None, UnrestrictedUser('god', '', ['Manager'], ''))
More information about the CMF-checkins
mailing list