diff --git a/product/ERP5/tests/testERP5Web.py b/product/ERP5/tests/testERP5Web.py index d2b24f95f6e5ab779bbf85fe5f520ff9159f5440..42572f8ffd114bb3dc77828c001dd07c78ede307 100644 --- a/product/ERP5/tests/testERP5Web.py +++ b/product/ERP5/tests/testERP5Web.py @@ -1376,12 +1376,12 @@ class TestERP5WebWithSimpleSecurity(ERP5TypeTestCase): self.portal.Localizer.changeLanguage('en') - target = self.portal.restrictedTraverse('web_site_module/site/section/my-first-web-page') + target = self.portal.unrestrictedTraverse('web_site_module/site/section/my-first-web-page') self.assertEqual('Hello, World!', target.getTextContent()) self.portal.Localizer.changeLanguage('ja') - target = self.portal.restrictedTraverse('web_site_module/site/section/my-first-web-page') + target = self.portal.unrestrictedTraverse('web_site_module/site/section/my-first-web-page') self.assertEqual('ã“ã‚“ã«ã¡ã¯ã€ä¸–ç•Œï¼', target.getTextContent()) def test_02_LocalRolesFromRoleDefinition(self):