diff options
author | wim glenn <hey@wimglenn.com> | 2019-01-22 23:26:30 -0600 |
---|---|---|
committer | wim glenn <hey@wimglenn.com> | 2019-01-24 10:17:29 -0600 |
commit | 0f546c4670146fbb89407cad85518e3a7dcfa833 (patch) | |
tree | 242a23fc1865ab80dfc45535b5b52c67658ce7f3 /testing/test_skipping.py | |
parent | ba452dbcf01f16f1bdad1950c91977298588712d (diff) | |
download | pytest-0f546c4670146fbb89407cad85518e3a7dcfa833.tar.gz |
pytest_terminal_summary uses result from pytest_report_teststatus hook, rather than hardcoded strings
Less hacky way to make XPASS yellow markup. Make sure collect reports still have a "when" attribute.
xfail changed to XFAIL in the test report, for consistency with other outcomes which are all CAPS
Diffstat (limited to 'testing/test_skipping.py')
-rw-r--r-- | testing/test_skipping.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/test_skipping.py b/testing/test_skipping.py index 6b18011b6..be3f74760 100644 --- a/testing/test_skipping.py +++ b/testing/test_skipping.py @@ -1202,6 +1202,6 @@ def test_summary_list_after_errors(testdir): [ "=* FAILURES *=", "*= short test summary info =*", - "FAIL test_summary_list_after_errors.py::test_fail", + "FAILED test_summary_list_after_errors.py::test_fail", ] ) |