MCPcopy Create free account
hub / github.com/pytest-dev/pytest / test_run_without_stepwise

Function test_run_without_stepwise

testing/test_stepwise.py:90–94  ·  view source on GitHub ↗
(stepwise_pytester: Pytester)

Source from the content-addressed store, hash-verified

88
89
90def test_run_without_stepwise(stepwise_pytester: Pytester) -> None:
91 result = stepwise_pytester.runpytest("-v", "--strict-markers", "--fail")
92 result.stdout.fnmatch_lines(["*test_success_before_fail PASSED*"])
93 result.stdout.fnmatch_lines(["*test_fail_on_flag FAILED*"])
94 result.stdout.fnmatch_lines(["*test_success_after_fail PASSED*"])
95
96
97def test_stepwise_output_summary(pytester: Pytester) -> None:

Callers

nothing calls this directly

Calls 2

fnmatch_linesMethod · 0.80
runpytestMethod · 0.45

Tested by

no test coverage detected