[Erp5-report] r43859 rafael - /erp5/trunk/products/ERP5/tests/testERP5Core.py

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Mar 1 16:09:09 CET 2011


Author: rafael
Date: Tue Mar  1 16:09:09 2011
New Revision: 43859

URL: http://svn.erp5.org?rev=43859&view=rev
Log:
Increase verbosity of the test.

Modified:
    erp5/trunk/products/ERP5/tests/testERP5Core.py

Modified: erp5/trunk/products/ERP5/tests/testERP5Core.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/tests/testERP5Core.py?rev=43859&r1=43858&r2=43859&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/tests/testERP5Core.py [utf8] (original)
+++ erp5/trunk/products/ERP5/tests/testERP5Core.py [utf8] Tue Mar  1 16:09:09 2011
@@ -301,7 +301,8 @@ class TestERP5Core(ERP5TypeTestCase, Zop
                  'portal_alarms',):
       response = self.publish('%s/%s' % (self.portal_id, tool), self.auth)
       self.assertEquals(HTTP_OK, response.getStatus(),
-                        "%s: %s" % (tool, response.getStatus()))
+                        "%s: %s (%s)" % (tool, response.getStatus(),
+                                         str(response)))
 
   def test_allowed_content_types_translated(self):
     """Tests allowed content types from the action menu are translated"""



More information about the Erp5-report mailing list