[Erp5-report] r45165 luke - /erp5/trunk/products/ERP5/tests/testBusinessTemplate.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Thu Apr 7 12:55:55 CEST 2011
Author: luke
Date: Thu Apr 7 12:55:55 2011
New Revision: 45165
URL: http://svn.erp5.org?rev=45165&view=rev
Log:
- remove not needed methods
Modified:
erp5/trunk/products/ERP5/tests/testBusinessTemplate.py
Modified: erp5/trunk/products/ERP5/tests/testBusinessTemplate.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/tests/testBusinessTemplate.py?rev=45165&r1=45164&r2=45165&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/tests/testBusinessTemplate.py [utf8] (original)
+++ erp5/trunk/products/ERP5/tests/testBusinessTemplate.py [utf8] Thu Apr 7 12:55:55 2011
@@ -83,13 +83,6 @@ class TestBusinessTemplate(ERP5TypeTestC
def getTitle(self):
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)
def _catch_log_errors(self):
@@ -211,12 +204,6 @@ class TestBusinessTemplate(ERP5TypeTestC
transaction.commit()
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):
"""
Get a business template at portal_templates
More information about the Erp5-report
mailing list