From 0e0868f3809990515a58e08c32535c3bdd5ad8f5 Mon Sep 17 00:00:00 2001 From: Sebastien Robin <seb@nexedi.com> Date: Fri, 2 Mar 2007 14:43:07 +0000 Subject: [PATCH] added method getActivityTool, like other tools git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13187 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5Type/tests/ERP5TypeTestCase.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/product/ERP5Type/tests/ERP5TypeTestCase.py b/product/ERP5Type/tests/ERP5TypeTestCase.py index 98695c31e4..ef21b74987 100644 --- a/product/ERP5Type/tests/ERP5TypeTestCase.py +++ b/product/ERP5Type/tests/ERP5TypeTestCase.py @@ -435,6 +435,9 @@ class ERP5TypeTestCase(PortalTestCase): def getAlarmTool(self): return getattr(self.getPortal(), 'portal_alarms', None) + def getActivityTool(self): + return getattr(self.getPortal(), 'portal_activities', None) + def getOrganisationModule(self): return getattr(self.getPortal(), 'organisation_module', getattr(self.getPortal(), 'organisation', None)) -- 2.30.9