Really drop left-over activities between test classes in the same file

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@33923 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 67083d71
......@@ -1069,7 +1069,7 @@ class ERP5TypeTestCase(backportUnittest.TestCase, PortalTestCase):
portal_activities = self.portal.portal_activities
# Drop remaining activities.
count = portal_activities.countMessage()
portal_activities.manageClearActivities()
portal_activities.manageClearActivities(keep=False)
if count:
LOG('Products.ERP5Type.tests.ERP5TypeTestCase.beforeClose', DEBUG,
'dropped %d left-over activity messages' % (count,))
......
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