Make EXPRECTED_TO_FAIL red

This commit is contained in:
Dmitry Novik 2023-05-05 17:37:52 +00:00
parent 3fe0cb28c4
commit 02520e9358

View File

@ -281,7 +281,7 @@ def _format_header(
def _get_status_style(status: str, colortheme: Optional[ColorTheme] = None) -> str:
ok_statuses = ("OK", "success", "PASSED")
fail_statuses = ("FAIL", "failure", "error", "FAILED", "Timeout")
fail_statuses = ("FAIL", "failure", "error", "FAILED", "Timeout", "EXPECTED_TO_FAIL")
if colortheme is None:
colortheme = ReportColorTheme.default