Merge pull request #6425 from blueyed/xfail-yellow

terminal: use "yellow" with any "xpassed" tests
This commit is contained in:
Daniel Hahler
2020-01-09 23:22:58 +01:00
committed by GitHub
3 changed files with 5 additions and 4 deletions

View File

@@ -1107,7 +1107,7 @@ def _get_main_color(stats) -> Tuple[str, List[str]]:
# main color
if "failed" in stats or "error" in stats:
main_color = "red"
elif "warnings" in stats or unknown_type_seen:
elif "warnings" in stats or "xpassed" in stats or unknown_type_seen:
main_color = "yellow"
elif "passed" in stats:
main_color = "green"