[Erp5-report] r30884 - /erp5/trunk/products/ERP5/tests/testBase.py

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Nov 27 12:39:04 CET 2009


Author: seb
Date: Fri Nov 27 12:39:01 2009
New Revision: 30884

URL: http://svn.erp5.org?rev=30884&view=rev
Log:
theses 3 tests are checking unexpected behavior

Modified:
    erp5/trunk/products/ERP5/tests/testBase.py

Modified: erp5/trunk/products/ERP5/tests/testBase.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/tests/testBase.py?rev=30884&r1=30883&r2=30884&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/tests/testBase.py [utf8] (original)
+++ erp5/trunk/products/ERP5/tests/testBase.py [utf8] Fri Nov 27 12:39:01 2009
@@ -38,6 +38,7 @@
 from AccessControl.SecurityManagement import newSecurityManager
 from Products.ERP5Type.tests.Sequence import SequenceList
 from zExceptions import BadRequest
+from Products.ERP5Type.tests.backportUnittest import skip
 from Products.ERP5Type.Tool.ClassTool import _aq_reset
 
 class TestBase(ERP5TypeTestCase, ZopeTestCase.Functional):
@@ -1137,6 +1138,8 @@
     self.assertEquals(1, len(self.getPortal().portal_catalog(
       translated_portal_type='Person', title='translate_table_test')))
 
+  @skip("isIndexable is not designed to work like tested here, this test \
+      must be rewritten once we know how to handle correctly templates")
   def test_NonIndexable(self):
     """check if a document is not indexed where we set isIndexable=0 in the same transaction of newContent().
     """
@@ -1147,6 +1150,8 @@
     self.assertFalse(person.isIndexable)
     self.assertEquals(0, len(self.portal.portal_catalog(uid=person.getUid())))
 
+  @skip("isIndexable is not designed to work like tested here, this test \
+      must be rewritten once we know how to handle correctly templates")
   def test_NonIndexable2(self):
     """check if a document is not indexed where we call edit() and set isIndexable=0 after it is already indexed.
     """
@@ -1165,6 +1170,8 @@
     self.assertFalse(person.isIndexable)
     self.assertEquals(0, len(self.portal.portal_catalog(uid=person.getUid())))
 
+  @skip("isIndexable is not designed to work like tested here, this test \
+      must be rewritten once we know how to handle correctly templates")
   def test_NonIndexable3(self):
     """check if a document is not indexed where we set isIndexable=0 and call edit() after it is already indexed.
     """




More information about the Erp5-report mailing list