From ee5e0746736a70a9eb775b9b4c6f286156a5c546 Mon Sep 17 00:00:00 2001 From: Sebastien Robin <seb@nexedi.com> Date: Tue, 22 Jun 2004 09:58:37 +0000 Subject: [PATCH] one test should be removed git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@1059 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/CMFCategory/tests/testCMFCategory.py | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/product/CMFCategory/tests/testCMFCategory.py b/product/CMFCategory/tests/testCMFCategory.py index 8b35d339b9..fe9a1c43dd 100755 --- a/product/CMFCategory/tests/testCMFCategory.py +++ b/product/CMFCategory/tests/testCMFCategory.py @@ -297,18 +297,18 @@ class TestCMFCategory(ERP5TypeTestCase): p2.immediateReindexObject() self.assertEqual(len(o1.getSubordinationRelatedValueList()),2) - def test_11_SetSubordinationValueToNone(self, quiet=0, run=run_all_test): + #def test_11_SetSubordinationValueToNone(self, quiet=0, run=run_all_test): # Test if an infinite loop of the acquisition for a single value is working # Typical error results from bad brain (do not copy, use aliases for zsqlbrain.py) - if not run: return - if not quiet: - ZopeTestCase._print('Test Set Subordination Value To None \n') - LOG('Testing... ',0,'testSetSubordinationValueToNone') - portal = self.getPortal() - p1 = self.getPersonModule()._getOb(self.id1) - p1.setSubordinationValue(None) - p1.immediateReindexObject() - self.assertEqual(o1.getSubordinationValue(),None) + # if not run: return + # if not quiet: + # ZopeTestCase._print('Test Set Subordination Value To None \n') + # LOG('Testing... ',0,'testSetSubordinationValueToNone') + # portal = self.getPortal() + # p1 = self.getPersonModule()._getOb(self.id1) + # p1.setSubordinationValue(None) + # p1.immediateReindexObject() + # self.assertEqual(o1.getSubordinationValue(),None) if __name__ == '__main__': -- 2.30.9