Commit 9fe74ea2 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

revert some unneeded changes in the previous commit.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@26723 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 36bcf3bc
...@@ -58,8 +58,7 @@ class TestERP5Web(ERP5TypeTestCase, ZopeTestCase.Functional): ...@@ -58,8 +58,7 @@ class TestERP5Web(ERP5TypeTestCase, ZopeTestCase.Functional):
def login(self, quiet=0, run=run_all_test): def login(self, quiet=0, run=run_all_test):
uf = self.getPortal().acl_users uf = self.getPortal().acl_users
uf._doAddUser(self.manager_username, self.manager_password, uf._doAddUser(self.manager_username, self.manager_password, ['Manager'], [])
['Manager','Owner'], [])
user = uf.getUserById(self.manager_username).__of__(uf) user = uf.getUserById(self.manager_username).__of__(uf)
newSecurityManager(None, user) newSecurityManager(None, user)
...@@ -68,7 +67,6 @@ class TestERP5Web(ERP5TypeTestCase, ZopeTestCase.Functional): ...@@ -68,7 +67,6 @@ class TestERP5Web(ERP5TypeTestCase, ZopeTestCase.Functional):
Return the list of required business templates. Return the list of required business templates.
""" """
return ('erp5_base', return ('erp5_base',
'erp5_l10n_fr',
'erp5_web', 'erp5_web',
) )
...@@ -864,7 +862,6 @@ class TestERP5WebWithSimpleSecurity(ERP5TypeTestCase): ...@@ -864,7 +862,6 @@ class TestERP5WebWithSimpleSecurity(ERP5TypeTestCase):
ZopeTestCase._print(message) ZopeTestCase._print(message)
self.changeUser('admin') self.changeUser('admin')
site = self.portal.web_site_module.newContent(portal_type='Web Site', site = self.portal.web_site_module.newContent(portal_type='Web Site',
id='site') id='site')
section = site.newContent(portal_type='Web Section', id='section') section = site.newContent(portal_type='Web Section', id='section')
......
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