MCPcopy
hub / github.com/pytest-dev/pytest / test_fail_reporting_on_pass

Function test_fail_reporting_on_pass

testing/test_terminal.py:1254–1257  ·  view source on GitHub ↗
(pytester: Pytester)

Source from the content-addressed store, hash-verified

1252
1253
1254def test_fail_reporting_on_pass(pytester: Pytester) -> None:
1255 pytester.makepyfile("def test_this(): assert 1")
1256 result = pytester.runpytest("-rf")
1257 result.stdout.no_fnmatch_line("*short test summary*")
1258
1259
1260def test_pass_extra_reporting(pytester: Pytester) -> None:

Callers

nothing calls this directly

Calls 3

no_fnmatch_lineMethod · 0.80
makepyfileMethod · 0.45
runpytestMethod · 0.45

Tested by

no test coverage detected