SVN: CMF/trunk/CMFCore/tests/test_CatalogTool.py Note possible test failure.

Tres Seaver <[email protected]>
Newsgroups gmane.comp.web.zope.cmf.cvs
Message-ID <[email protected]>
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'])
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.