Change XPASS colour to be yellow rather then red
Unfortunately I'm not sure how to test this.
This commit is contained in:
parent
080a9d2f12
commit
9711e335d9
|
@ -186,7 +186,7 @@ def pytest_report_teststatus(report):
|
|||
if report.skipped:
|
||||
return "xfailed", "x", "xfail"
|
||||
elif report.failed:
|
||||
return "xpassed", "X", "XPASS"
|
||||
return "xpassed", "X", ("XPASS", {'yellow': True})
|
||||
|
||||
# called by the terminalreporter instance/plugin
|
||||
def pytest_terminal_summary(terminalreporter):
|
||||
|
|
Loading…
Reference in New Issue