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

Tres Seaver tseaver at palladion.com
Tue Jul 18 14:38:23 EDT 2006


Log message for revision 69186:
  Note possible test failure.

Changed:
  U   CMF/trunk/CMFCore/tests/test_CatalogTool.py

-=-
Modified: CMF/trunk/CMFCore/tests/test_CatalogTool.py
===================================================================
--- CMF/trunk/CMFCore/tests/test_CatalogTool.py	2006-07-18 18:37:54 UTC (rev 69185)
+++ CMF/trunk/CMFCore/tests/test_CatalogTool.py	2006-07-18 18:38:22 UTC (rev 69186)
@@ -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