[Erp5-report] r25454 - /erp5/trunk/products/ERP5Type/tests/runFunctionalTest.py

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Feb 5 09:37:51 CET 2009


Author: kazuhiko
Date: Thu Feb  5 09:37:49 2009
New Revision: 25454

URL: http://svn.erp5.org?rev=25454&view=rev
Log:
set background color for newer zelenium.

Modified:
    erp5/trunk/products/ERP5Type/tests/runFunctionalTest.py

Modified: erp5/trunk/products/ERP5Type/tests/runFunctionalTest.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/tests/runFunctionalTest.py?rev=25454&r1=25453&r2=25454&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/tests/runFunctionalTest.py [utf8] (original)
+++ erp5/trunk/products/ERP5Type/tests/runFunctionalTest.py [utf8] Thu Feb  5 09:37:49 2009
@@ -260,6 +260,8 @@
     if error_result_re.match(e):
       detail += e
   detail = image_re.sub('', detail)
+  detail = detail.replace('<tr class="title status_failed"', '<tr class="title status_failed" style="background-color:red"')
+  detail = detail.replace('<tr class="status_failed"', '<tr class="status_failed" style="background-color:red"')
   if detail:
     detail = '<html><body>%s</body></html>' % detail
   status = (not failures)




More information about the Erp5-report mailing list