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

Method test_normal

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

Source from the content-addressed store, hash-verified

2159 output.stdout.fnmatch_lines(["=* 2 passed in *="])
2160
2161 def test_normal(self, many_tests_files, pytester: Pytester) -> None:
2162 output = pytester.runpytest()
2163 output.stdout.re_match_lines(
2164 [
2165 r"test_bar.py \.{10} \s+ \[ 50%\]",
2166 r"test_foo.py \.{5} \s+ \[ 75%\]",
2167 r"test_foobar.py \.{5} \s+ \[100%\]",
2168 ]
2169 )
2170
2171 def test_colored_progress(
2172 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