Commit 993c4ca2 authored by Julien Muchembled's avatar Julien Muchembled

TestBPMMixin: delete useless beforeTearDown

git-svn-id: https://svn.erp5.org/repos/public/erp5/sandbox/amount_generator@38146 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 88a1ec3f
......@@ -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"""
......
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