(self, pytester: Pytester)
| 410 | assert "xfail" in callreport.keywords |
| 411 | |
| 412 | def test_xfail_not_report_default(self, pytester: Pytester) -> None: |
| 413 | p = pytester.makepyfile( |
| 414 | test_one=""" |
| 415 | import pytest |
| 416 | @pytest.mark.xfail |
| 417 | def test_this(): |
| 418 | assert 0 |
| 419 | """ |
| 420 | ) |
| 421 | pytester.runpytest(p, "-v") |
| 422 | # result.stdout.fnmatch_lines([ |
| 423 | # "*HINT*use*-r*" |
| 424 | # ]) |
| 425 | |
| 426 | def test_xfail_not_run_xfail_reporting(self, pytester: Pytester) -> None: |
| 427 | p = pytester.makepyfile( |
nothing calls this directly
no test coverage detected