Commit 6d7e4a62 authored by Łukasz Nowak's avatar Łukasz Nowak

- remove not needed methods


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@45165 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 9ec4738f
...@@ -83,13 +83,6 @@ class TestBusinessTemplate(ERP5TypeTestCase, LogInterceptor): ...@@ -83,13 +83,6 @@ class TestBusinessTemplate(ERP5TypeTestCase, LogInterceptor):
def getTitle(self): def getTitle(self):
return "Business Template" return "Business Template"
def enableActivityTool(self):
"""
You can override this.
Return if we should create (1) or not (0) an activity tool.
"""
return 1
## Ignore errors from PortalTransforms (e.g. missing binaries) ## Ignore errors from PortalTransforms (e.g. missing binaries)
def _catch_log_errors(self): def _catch_log_errors(self):
...@@ -211,12 +204,6 @@ class TestBusinessTemplate(ERP5TypeTestCase, LogInterceptor): ...@@ -211,12 +204,6 @@ class TestBusinessTemplate(ERP5TypeTestCase, LogInterceptor):
transaction.commit() transaction.commit()
self._ignore_log_errors() self._ignore_log_errors()
def login(self):
uf = self.getPortal().acl_users
uf._doAddUser('seb', '', ['Manager'], [])
user = uf.getUserById('seb').__of__(uf)
newSecurityManager(None, user)
def getBusinessTemplate(self,title): def getBusinessTemplate(self,title):
""" """
Get a business template at portal_templates Get a business template at portal_templates
......
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