SVN: CMF/branches/2.0/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 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'])
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.