[Erp5-report] r24086 - /erp5/trunk/products/ERP5/tests/testXHTML.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Wed Oct 8 09:23:12 CEST 2008
Author: fabien
Date: Wed Oct 8 09:22:57 2008
New Revision: 24086
URL: http://svn.erp5.org?rev=24086&view=rev
Log:
'' is false so validator.show_warnings and '' is always false and display always that warnings are not displayed. Now it works correctly.
Modified:
erp5/trunk/products/ERP5/tests/testXHTML.py
Modified: erp5/trunk/products/ERP5/tests/testXHTML.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/tests/testXHTML.py?rev=24086&r1=24085&r2=24086&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/tests/testXHTML.py (original)
+++ erp5/trunk/products/ERP5/tests/testXHTML.py Wed Oct 8 09:22:57 2008
@@ -238,8 +238,9 @@
# display some information when test faild to facilitate debugging
message = []
- message.append('Using %s validator to parse the view "%s" (from %s bt) with warning %s displayed :' %\
- (validator.name, view_name, bt_name, validator.show_warnings and '' or 'NOT'))
+ message.append('Using %s validator to parse the view "%s" (from %s bt) with warning %sdisplayed :' %\
+ (validator.name, view_name, bt_name,
+ validator.show_warnings and ' ' or 'NOT '))
error_list, warning_list = validator.getErrorAndWarningList(source)
More information about the Erp5-report
mailing list