[Erp5-report] r26350 - /erp5/trunk/products/ERP5/tests/testERP5Web.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Wed Apr 8 14:50:50 CEST 2009
Author: kazuhiko
Date: Wed Apr 8 14:50:49 2009
New Revision: 26350
URL: http://svn.erp5.org?rev=26350&view=rev
Log:
a webmaster should be able to create a Web Section.
Modified:
erp5/trunk/products/ERP5/tests/testERP5Web.py
Modified: erp5/trunk/products/ERP5/tests/testERP5Web.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/tests/testERP5Web.py?rev=26350&r1=26349&r2=26350&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/tests/testERP5Web.py [utf8] (original)
+++ erp5/trunk/products/ERP5/tests/testERP5Web.py [utf8] Wed Apr 8 14:50:49 2009
@@ -1160,11 +1160,8 @@
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()
More information about the Erp5-report
mailing list