Commit 743e147b authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

implement ComposedDivergenceTester.getTestedPropertyList() so as to return all...

implement ComposedDivergenceTester.getTestedPropertyList() so as to return all tested properties in inside testers.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@37143 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 3dd17661
......@@ -71,3 +71,9 @@ class ComposedDivergenceTester(XMLObject):
message = tester.explain(simulation_movement)
message_list.extend(message)
return message_list
def getTestedPropertyList(self, default=None):
"""
Returns all tested properties in inside testers.
"""
return sum([x.getTestedPropertyList() for x in self.objectValues()], [])
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