Commit 46c6f97d authored by Sebastien Robin's avatar Sebastien Robin

added the method tic


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@1468 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 764f318b
......@@ -152,6 +152,14 @@ class ERP5TypeTestCase(PortalTestCase):
def getPortalId(self):
return self.getPortal().getId()
def tic(self):
"""
Start all messages
"""
portal_activities = getattr(self.getPortal(),'portal_activities',None)
if portal_activities is not None:
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