Commit c9bd0e15 authored by Gabriel Monnerat's avatar Gabriel Monnerat

For the tests listed bellow, those tests are trying to access

web_site_module from self object. Tests:
test_03_WebSection_getDocumentValueListSecurity
test_04_ExpireUserAction
test_05_createWebSite
test_06_createWebSection
test_WebSiteModuleDefaultSecurity
test_getDocumentValueList_AnonymousUser
parent 624fb63a
......@@ -1369,6 +1369,7 @@ class TestERP5WebWithSimpleSecurity(ERP5TypeTestCase):
user_folder._doAddUser(name, 'password', role_list, [])
def afterSetUp(self):
self.web_site_module = self.portal.web_site_module
self.portal.Localizer = DummyLocalizer()
self.createUser('admin', ['Manager'])
self.createUser('erp5user', ['Auditor', 'Author'])
......
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