SVN: CMF/trunk/CMFDefault/tests/RegistrationTool.txt - fixed tests (Zope 2.10 needs traversing set up)

Yvo Schubbe <[email protected]>
Newsgroups gmane.comp.web.zope.cmf.cvs
Message-ID <[email protected]>
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'], ''))
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.