Commit fbf46809 authored by Sebastien Robin's avatar Sebastien Robin

make sure the message list is empty with tic


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@1470 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 9bde599b
......@@ -158,6 +158,7 @@ class ERP5TypeTestCase(PortalTestCase):
"""
portal_activities = getattr(self.getPortal(),'portal_activities',None)
if portal_activities is not None:
while len(portal_activities.getMessageList()) > 0:
portal_activities.distribute()
portal_activities.tic()
......
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