Commit 0008f070 authored by Jérome Perrin's avatar Jérome Perrin

renamed getTypeTool in getTypesTool



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@9026 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 27dc18d9
...@@ -303,8 +303,9 @@ class ERP5TypeTestCase(PortalTestCase): ...@@ -303,8 +303,9 @@ class ERP5TypeTestCase(PortalTestCase):
def getCatalogTool(self): def getCatalogTool(self):
return getToolByName(self.getPortal(), 'portal_catalog', None) return getToolByName(self.getPortal(), 'portal_catalog', None)
def getTypeTool(self): def getTypesTool(self):
return getToolByName(self.getPortal(), 'portal_types', None) return getToolByName(self.getPortal(), 'portal_types', None)
getTypeTool = getTypesTool
def getRuleTool(self): def getRuleTool(self):
return getattr(self.getPortal(), 'portal_rules', None) return getattr(self.getPortal(), 'portal_rules', 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