Commit 0e0868f3 authored by Sebastien Robin's avatar Sebastien Robin

added method getActivityTool, like other tools

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13187 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 41fa2d98
...@@ -435,6 +435,9 @@ class ERP5TypeTestCase(PortalTestCase): ...@@ -435,6 +435,9 @@ class ERP5TypeTestCase(PortalTestCase):
def getAlarmTool(self): def getAlarmTool(self):
return getattr(self.getPortal(), 'portal_alarms', None) return getattr(self.getPortal(), 'portal_alarms', None)
def getActivityTool(self):
return getattr(self.getPortal(), 'portal_activities', None)
def getOrganisationModule(self): def getOrganisationModule(self):
return getattr(self.getPortal(), 'organisation_module', return getattr(self.getPortal(), 'organisation_module',
getattr(self.getPortal(), 'organisation', None)) getattr(self.getPortal(), 'organisation', None))
......
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