From 993c4ca2d6a85082c32eea7f19587f2d134becf8 Mon Sep 17 00:00:00 2001 From: Julien Muchembled <jm@nexedi.com> Date: Fri, 3 Sep 2010 14:42:30 +0000 Subject: [PATCH] TestBPMMixin: delete useless beforeTearDown git-svn-id: https://svn.erp5.org/repos/public/erp5/sandbox/amount_generator@38146 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/tests/testBPMCore.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/product/ERP5/tests/testBPMCore.py b/product/ERP5/tests/testBPMCore.py index 8e12eea525..808ddd782b 100644 --- a/product/ERP5/tests/testBPMCore.py +++ b/product/ERP5/tests/testBPMCore.py @@ -179,15 +179,6 @@ class TestBPMMixin(ERP5TypeTestCase): self.createAndValidateAccounts() self.stepTic() - def beforeTearDown(self): - # abort any transaction - transaction.abort() - # put non finished activities into ignored state - activity_connection = self.portal.cmf_activity_sql_connection - for table in 'message', 'message_queue': - activity_connection.manage_test( - 'delete from %s where processing_node=-2' % table) - self.stepTic() class TestBPMImplementation(TestBPMMixin): """Business Process implementation tests""" -- 2.30.9