From b9cff100124894e4c5ce9cfbc5c510d50ca2961f Mon Sep 17 00:00:00 2001 From: Kazuhiko Shiozaki <kazuhiko@nexedi.com> Date: Wed, 8 Apr 2009 12:50:49 +0000 Subject: [PATCH] a webmaster should be able to create a Web Section. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@26350 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/tests/testERP5Web.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/product/ERP5/tests/testERP5Web.py b/product/ERP5/tests/testERP5Web.py index 8e220394a1..73369b7990 100644 --- a/product/ERP5/tests/testERP5Web.py +++ b/product/ERP5/tests/testERP5Web.py @@ -1160,11 +1160,8 @@ class TestERP5WebWithSimpleSecurity(ERP5TypeTestCase): try: section_2 = site.newContent(portal_type='Web Section', id='section_2') section_3 = section_2.newContent(portal_type='Web Section', id='section_3') - self.fail("A webmaster should not be able to create a Web Section.") except Unauthorized: - pass - - + self.fail("A webmaster should be able to create a Web Section.") def test_suite(): suite = unittest.TestSuite() -- 2.30.9