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

Method test_normal_verbosity

testing/test_terminal.py:1894–1903  ·  view source on GitHub ↗
(self, pytester: Pytester, test_files)

Source from the content-addressed store, hash-verified

1892 )
1893
1894 def test_normal_verbosity(self, pytester: Pytester, test_files) -> None:
1895 result = pytester.runpytest("-o", "console_output_style=classic")
1896 result.stdout.fnmatch_lines(
1897 [
1898 "test_one.py .",
1899 "test_two.py F",
1900 f"sub{os.sep}test_three.py .F.",
1901 "*2 failed, 3 passed in*",
1902 ]
1903 )
1904
1905 def test_verbose(self, pytester: Pytester, test_files) -> None:
1906 result = pytester.runpytest("-o", "console_output_style=classic", "-v")

Callers

nothing calls this directly

Calls 2

fnmatch_linesMethod · 0.80
runpytestMethod · 0.45

Tested by

no test coverage detected