[Erp5-report] r29832 - /erp5/trunk/products/ERP5/tests/testAccountingRules.py

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Oct 20 10:38:52 CEST 2009


Author: luke
Date: Tue Oct 20 10:38:51 2009
New Revision: 29832

URL: http://svn.erp5.org?rev=29832&view=rev
Log:
 - no need to have own login - ERP5TypeTestCase user has all required roles

Modified:
    erp5/trunk/products/ERP5/tests/testAccountingRules.py

Modified: erp5/trunk/products/ERP5/tests/testAccountingRules.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/tests/testAccountingRules.py?rev=29832&r1=29831&r2=29832&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/tests/testAccountingRules.py [utf8] (original)
+++ erp5/trunk/products/ERP5/tests/testAccountingRules.py [utf8] Tue Oct 20 10:38:51 2009
@@ -129,12 +129,6 @@
     self.createCategories()
     self.validateRules()
     
-  def login(self):
-    uf = self.getPortal().acl_users
-    uf._doAddUser('alex', '', ['Manager', 'Owner', 'Assignor'], [])
-    user = uf.getUserById('alex').__of__(uf)
-    newSecurityManager(None, user)
-  
   def createCategories(self) :
     """ create all categories that are needed for this test.
     It uses getCategoriesToCreate, so you should overload this method.




More information about the Erp5-report mailing list