From 42d64887608a912e119a73910af9980dabfb5fa3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=B3n=C3=A1n=20Carrigan?= Date: Mon, 28 Feb 2022 09:06:55 +0000 Subject: [PATCH] feat: cyan colour for skipped tests --- neotest_python/pytest.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/neotest_python/pytest.py b/neotest_python/pytest.py index 67aa64b..09cc9c7 100644 --- a/neotest_python/pytest.py +++ b/neotest_python/pytest.py @@ -23,6 +23,8 @@ class PytestNeotestAdapter(NeotestAdapter): msg = reporter._getfailureheadline(report) if report.outcome == NeotestResultStatus.FAILED: reporter.write_sep("_", msg, red=True, bold=True) + elif report.outcome == NeotestResultStatus.SKIPPED: + reporter.write_sep("_", msg, cyan=True, bold=True) else: reporter.write_sep("_", msg, green=True, bold=True) reporter._outrep_summary(report)