updated on Sat Jan 21 20:03:50 UTC 2012
[aur-mirror.git] / bitten-svn / bitten-errorsasfailures.patch
blobd57ffb8327eee1444cabeeaaa2701664cd0527c5
1 Count errors as failures in the "Unit tests" graph.
3 diff -r b9d52ebe4aaa bitten/report/testing.py
4 --- a/bitten/report/testing.py Wed Mar 10 09:54:42 2010 +0100
5 +++ b/bitten/report/testing.py Wed Mar 10 10:07:52 2010 +0100
6 @@ -57,7 +57,7 @@
7 elif status == 'ignore':
8 tests[-1][3] = max(num, tests[-1][3])
9 else:
10 - tests[-1][2] = max(num, tests[-1][2])
11 + tests[-1][2] += max(num, tests[-1][2])
13 data = {'title': 'Unit Tests',
14 'data': [