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

Method test_verbose

testing/test_terminal.py:2040–2048  ·  view source on GitHub ↗
(self, many_tests_files, pytester: Pytester)

Source from the content-addressed store, hash-verified

2038 )
2039
2040 def test_verbose(self, many_tests_files, pytester: Pytester) -> None:
2041 output = pytester.runpytest("-v")
2042 output.stdout.re_match_lines(
2043 [
2044 r"test_bar.py::test_bar\[0\] PASSED \s+ \[ 5%\]",
2045 r"test_foo.py::test_foo\[4\] PASSED \s+ \[ 75%\]",
2046 r"test_foobar.py::test_foobar\[4\] PASSED \s+ \[100%\]",
2047 ]
2048 )
2049
2050 def test_verbose_count(self, many_tests_files, pytester: Pytester) -> None:
2051 pytester.makeini(

Callers

nothing calls this directly

Calls 2

re_match_linesMethod · 0.80
runpytestMethod · 0.45

Tested by

no test coverage detected