Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 23 lines (20 sloc) 0.518 kB
6fa32ec @santagada First commit
authored
1 import pytest
2
3 test_count = 0
4
5 def pytest_report_teststatus(report):
6 global test_count
7 if report.passed:
8 letter = "."
9 elif report.skipped:
10 letter = "s"
11 elif report.failed:
12 test_count += 1
13 if test_count > 7:
14 letter = "U"
15 else:
16 letter = "F"
17 if report.when != "call":
18 if test_count > 7:
19 letter = "u"
20 else:
21 letter = "f"
22 return report.outcome, letter, report.outcome.upper()
Something went wrong with that request. Please try again.