Commit ee5e0746 authored by Sebastien Robin's avatar Sebastien Robin

one test should be removed


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@1059 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ff9d47f1
...@@ -297,18 +297,18 @@ class TestCMFCategory(ERP5TypeTestCase): ...@@ -297,18 +297,18 @@ class TestCMFCategory(ERP5TypeTestCase):
p2.immediateReindexObject() p2.immediateReindexObject()
self.assertEqual(len(o1.getSubordinationRelatedValueList()),2) 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 # 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) # Typical error results from bad brain (do not copy, use aliases for zsqlbrain.py)
if not run: return # if not run: return
if not quiet: # if not quiet:
ZopeTestCase._print('Test Set Subordination Value To None \n') # ZopeTestCase._print('Test Set Subordination Value To None \n')
LOG('Testing... ',0,'testSetSubordinationValueToNone') # LOG('Testing... ',0,'testSetSubordinationValueToNone')
portal = self.getPortal() # portal = self.getPortal()
p1 = self.getPersonModule()._getOb(self.id1) # p1 = self.getPersonModule()._getOb(self.id1)
p1.setSubordinationValue(None) # p1.setSubordinationValue(None)
p1.immediateReindexObject() # p1.immediateReindexObject()
self.assertEqual(o1.getSubordinationValue(),None) # self.assertEqual(o1.getSubordinationValue(),None)
if __name__ == '__main__': if __name__ == '__main__':
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment