Commit 6a25ab2f authored by Jérome Perrin's avatar Jérome Perrin

fix copy pasted docstring



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@11481 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 8f3e59b6
...@@ -1053,9 +1053,8 @@ class TestPropertySheet: ...@@ -1053,9 +1053,8 @@ class TestPropertySheet:
self.assertEquals(self.getPersonModule(), obj.aq_parent) self.assertEquals(self.getPersonModule(), obj.aq_parent)
self.assertEquals(self.getPersonModule(), copy.aq_parent) self.assertEquals(self.getPersonModule(), copy.aq_parent)
def test_21_ActionCondition(self,quiet=quiet, run=1): def test_21_ActionCondition(self, quiet=quiet, run=run_all_test):
"""asContext method return a temporary copy of an object. """Tests action conditions
Any modification made to the copy does not change the original object.
""" """
type_tool = self.getTypeTool() type_tool = self.getTypeTool()
portal_type_object = type_tool['Organisation'] portal_type_object = type_tool['Organisation']
...@@ -1088,7 +1087,6 @@ class TestPropertySheet: ...@@ -1088,7 +1087,6 @@ class TestPropertySheet:
action_id_list = [x['id'] for x in actions.get('object_action',[])] action_id_list = [x['id'] for x in actions.get('object_action',[])]
self.failUnless('action3' in action_id_list) self.failUnless('action3' in action_id_list)
if __name__ == '__main__': if __name__ == '__main__':
framework() framework()
else: else:
......
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