[Erp5-report] r12935 - /erp5/trunk/products/ERP5Banking/tests/
nobody at svn.erp5.org
nobody at svn.erp5.org
Wed Feb 21 15:04:17 CET 2007
Author: vincent
Date: Wed Feb 21 15:04:14 2007
New Revision: 12935
URL: http://svn.erp5.org?rev=12935&view=rev
Log:
Add a function to allow account incident module cleanup.
Modified:
erp5/trunk/products/ERP5Banking/tests/testERP5BankingAccountIncident.py
Modified: erp5/trunk/products/ERP5Banking/tests/testERP5BankingAccountIncident.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/tests/testERP5BankingAccountIncident.py?rev=12935&r1=12934&r2=12935&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/testERP5BankingAccountIncident.py (original)
+++ erp5/trunk/products/ERP5Banking/tests/testERP5BankingAccountIncident.py Wed Feb 21 15:04:14 2007
@@ -177,6 +177,12 @@
# 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):
"""
More information about the Erp5-report
mailing list