Commit 68c4ee65 authored by Vincent Pelletier's avatar Vincent Pelletier

Add a function to allow account incident module cleanup.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@12935 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent fd6bcf41
......@@ -177,6 +177,12 @@ class TestERP5BankingAccountIncident(TestERP5BankingMixin, ERP5TypeTestCase):
# open counter date
self.openCounterDate(site=self.paris)
def stepCleanupObjects(self, sequence=None, sequence_list=None, **kwd):
"""
Cleanup account_incident_module after a sequence execution so that
stepCheckObjects can succeed.
"""
self.account_incident_module.manage_delObjects(ids=[x for x in self.account_incident_module.objectIds()])
def stepCheckObjects(self, sequence=None, sequence_list=None, **kwd):
"""
......
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