Commit 5a21d9fa authored by Nicolas Dumazet's avatar Nicolas Dumazet

add a user_name parameter to the login method


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@29683 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 8ed87db7
...@@ -277,11 +277,11 @@ class ERP5TypeTestCase(PortalTestCase): ...@@ -277,11 +277,11 @@ class ERP5TypeTestCase(PortalTestCase):
""" """
return 0 return 0
def login(self, quiet=0): def login(self, user_name='ERP5TypeTestCase', quiet=0):
""" """
Most of the time, we need to login before doing anything Most of the time, we need to login before doing anything
""" """
PortalTestCase.login(self, 'ERP5TypeTestCase') PortalTestCase.login(self, user_name)
def _setupUser(self): def _setupUser(self):
'''Creates the default user.''' '''Creates the default user.'''
......
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