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,8 +158,9 @@ class ERP5TypeTestCase(PortalTestCase):
"""
portal_activities = getattr(self.getPortal(),'portal_activities',None)
if portal_activities is not None:
portal_activities.distribute()
portal_activities.tic()
while len(portal_activities.getMessageList()) > 0:
portal_activities.distribute()
portal_activities.tic()
def setupERP5Site(business_template_list=(), app=None, portal_name=portal_name, quiet=0):
......
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