Commit 310378d1 authored by Ivan Tyagov's avatar Ivan Tyagov

Clean up (use parent login method).

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35778 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 90b9ebcd
...@@ -143,16 +143,6 @@ class TestIngestion(ERP5TypeTestCase): ...@@ -143,16 +143,6 @@ class TestIngestion(ERP5TypeTestCase):
script = getattr(context, script_id) script = getattr(context, script_id)
script.ZPythonScript_edit('email_to, event, doc, **kw', 'return') script.ZPythonScript_edit('email_to, event, doc, **kw', 'return')
def login(self, quiet=QUIET, run=RUN_ALL_TEST):
"""
Create a new manager user and login.
"""
user_name = 'dms_user'
user_folder = self.portal.acl_users
user_folder._doAddUser(user_name, '', ['Manager', 'Owner', 'Assignor'], [])
user = user_folder.getUserById(user_name).__of__(user_folder)
newSecurityManager(None, user)
def createDefaultCategoryList(self): def createDefaultCategoryList(self):
""" """
Create some categories for testing. DMS security Create some categories for testing. DMS security
......
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