Commit 9826e707 authored by Jérome Perrin's avatar Jérome Perrin

use original method signatures


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18192 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 288eba77
......@@ -50,13 +50,13 @@ class TestConstraint(PropertySheetTestCase):
"""
return ('erp5_base',)
def login(self, quiet=0, run=run_all_test):
def login(self):
uf = self.getPortal().acl_users
uf._doAddUser('rc', '', ['Manager'], [])
user = uf.getUserById('rc').__of__(uf)
newSecurityManager(None, user)
def afterSetUp(self, quiet=1, run=run_all_test):
def afterSetUp(self:
self.login()
self.portal = self.getPortal()
self.category_tool = self.getCategoryTool()
......
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