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

Method test_normal

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

Source from the content-addressed store, hash-verified

1960 output.stdout.fnmatch_lines(["=* 2 passed in *="])
1961
1962 def test_normal(self, many_tests_files, pytester: Pytester) -> None:
1963 output = pytester.runpytest()
1964 output.stdout.re_match_lines(
1965 [
1966 r"test_bar.py \.{10} \s+ \[ 50%\]",
1967 r"test_foo.py \.{5} \s+ \[ 75%\]",
1968 r"test_foobar.py \.{5} \s+ \[100%\]",
1969 ]
1970 )
1971
1972 def test_colored_progress(
1973 self, pytester: Pytester, monkeypatch, color_mapping

Callers

nothing calls this directly

Calls 2

re_match_linesMethod · 0.80
runpytestMethod · 0.45

Tested by

no test coverage detected