[Erp5-report] r39036 kazuhiko - /erp5/trunk/products/ERP5/tests/

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Oct 11 22:22:21 CEST 2010


Author: kazuhiko
Date: Mon Oct 11 22:22:20 2010
New Revision: 39036

URL: http://svn.erp5.org?rev=39036&view=rev
Log:
since r39007, Anonymous User cannt access non-published Web Site.

Modified:
    erp5/trunk/products/ERP5/tests/testERP5Web.py
    erp5/trunk/products/ERP5/tests/testERP5WebWithDms.py

Modified: erp5/trunk/products/ERP5/tests/testERP5Web.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/tests/testERP5Web.py?rev=39036&r1=39035&r2=39036&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/tests/testERP5Web.py [utf8] (original)
+++ erp5/trunk/products/ERP5/tests/testERP5Web.py [utf8] Mon Oct 11 22:22:20 2010
@@ -104,6 +104,7 @@ class TestERP5Web(ERP5TypeTestCase):
     website = self.getPortal().web_site_module.newContent(portal_type = 'Web Site',
                                                           id = self.website_id,
                                                           **kw)
+    website.publish()
     transaction.commit()
     self.tic()
     return website

Modified: erp5/trunk/products/ERP5/tests/testERP5WebWithDms.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/tests/testERP5WebWithDms.py?rev=39036&r1=39035&r2=39036&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/tests/testERP5WebWithDms.py [utf8] (original)
+++ erp5/trunk/products/ERP5/tests/testERP5WebWithDms.py [utf8] Mon Oct 11 22:22:20 2010
@@ -124,6 +124,7 @@ class TestERP5WebWithDms(ERP5TypeTestCas
     website = self.getPortal().web_site_module.newContent(portal_type = 'Web Site',
                                                           id = self.website_id,
                                                           **kw)
+    website.publish()
     transaction.commit()
     self.tic()
     return website




More information about the Erp5-report mailing list