Commit 77b45917 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

set background color for newer zelenium.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@25454 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c15267dd
...@@ -260,6 +260,8 @@ Following tests failed: ...@@ -260,6 +260,8 @@ Following tests failed:
if error_result_re.match(e): if error_result_re.match(e):
detail += e detail += e
detail = image_re.sub('', detail) 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: if detail:
detail = '<html><body>%s</body></html>' % detail detail = '<html><body>%s</body></html>' % detail
status = (not failures) status = (not failures)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment