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

Function test_pass_reporting_on_fail

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

Source from the content-addressed store, hash-verified

1266
1267
1268def test_pass_reporting_on_fail(pytester: Pytester) -> None:
1269 pytester.makepyfile("def test_this(): assert 0")
1270 result = pytester.runpytest("-rp")
1271 result.stdout.no_fnmatch_line("*short test summary*")
1272
1273
1274def test_pass_output_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