Commit 65918758 authored by Jérome Perrin's avatar Jérome Perrin

take care of module renaming for get${portal_type}Module methods


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@3709 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e155fcdc
...@@ -226,11 +226,17 @@ class ERP5TypeTestCase(PortalTestCase): ...@@ -226,11 +226,17 @@ class ERP5TypeTestCase(PortalTestCase):
return getattr(self.getPortal(), 'portal_alarms', None) return getattr(self.getPortal(), 'portal_alarms', None)
def getOrganisationModule(self): def getOrganisationModule(self):
return getattr(self.getPortal(), 'organisation', None) return getattr(self.getPortal(), 'organisation_module',
getattr(self.getPortal(), 'organisation', None))
def getPersonModule(self): def getPersonModule(self):
return getattr(self.getPortal(), 'person', None) return getattr(self.getPortal(), 'person_module',
getattr(self.getPortal(), 'person', None))
def getCurrencyModule(self):
return getattr(self.getPortal(), 'currency_module',
getattr(self.getPortal(), 'currency', None))
def tic(self): def tic(self):
""" """
Start all messages Start all messages
......
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