don't hide activity errors

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31878 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 2ff16544
......@@ -65,7 +65,6 @@ class BaseTestCRM(ERP5TypeTestCase):
def beforeTearDown(self):
transaction.abort()
self.getActivityTool().manageClearActivities()
# restore the original MailHost
if self.oldMailHost is not None:
self.portal.manage_delObjects(['MailHost'])
......@@ -75,8 +74,7 @@ class BaseTestCRM(ERP5TypeTestCase):
module = getattr(self.portal, module_name)
module.manage_delObjects(list(module.objectIds()))
transaction.commit()
self.tic()
self.stepTic()
super(BaseTestCRM, self).beforeTearDown()
class TestCRM(BaseTestCRM):
......
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