generate_report.py: made bgcolor of total row white

This commit is contained in:
Denis Bilenko
2008-10-29 13:17:43 +06:00
parent 8d522fc473
commit 7a39ef701f

View File

@@ -63,6 +63,8 @@ class TestResult:
self.output = None
def color(self):
if self.id is None:
return 'white'
if self.timeouts or self.exitcode in [7, 9, 10]:
return 'red'
elif self.errors or self.fails or self.exitcode: