Commit 8bba2451 authored by Vincent Pelletier's avatar Vincent Pelletier

Add an alias to getPortal method named like the one available to code ran in...

Add an alias to getPortal method named like the one available to code ran in the instance. This allows to use the same method name to achieve the same result both in unit tests and in "regular" code.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@16402 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent d3e20ee6
......@@ -241,6 +241,8 @@ class ERP5TypeTestCase(PortalTestCase):
"""
return self.app[self.getPortalName()]
getPortalObject = getPortal
def enableLightInstall(self):
"""
You can override this. Return if we should do a light install (1) or not (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