[CMF-checkins] SVN: CMF/branches/2.0/CMFCore/tests/test_CatalogTool.py Note possible test failure.

Tres Seaver tseaver at palladion.com
Tue Jul 18 14:36:57 EDT 2006


Log message for revision 69182:
  Note possible test failure.

Changed:
  U   CMF/branches/2.0/CMFCore/tests/test_CatalogTool.py

-=-
Modified: CMF/branches/2.0/CMFCore/tests/test_CatalogTool.py
===================================================================
--- CMF/branches/2.0/CMFCore/tests/test_CatalogTool.py	2006-07-18 18:16:10 UTC (rev 69181)
+++ CMF/branches/2.0/CMFCore/tests/test_CatalogTool.py	2006-07-18 18:36:56 UTC (rev 69182)
@@ -52,6 +52,9 @@
         verifyClass(IIndexableObjectWrapper, self._getTargetClass())
 
     def test_allowedRolesAndUsers(self):
+        # XXX This test fails when verbose security is enabled in zope.conf,
+        # because the roles will then contain '_View_Permission' as well as
+        # 'Manager'.
         obj = DummyContent()
         w = self._makeOne({}, obj)
         self.assertEqual(w.allowedRolesAndUsers(), ['Manager'])



More information about the CMF-checkins mailing list