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

Method test_xdist_normal_count

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

Source from the content-addressed store, hash-verified

2072 output.stdout.re_match_lines([r"\.{20} \s+ \[100%\]"])
2073
2074 def test_xdist_normal_count(
2075 self, many_tests_files, pytester: Pytester, monkeypatch
2076 ) -> None:
2077 pytest.importorskip("xdist")
2078 monkeypatch.delenv("PYTEST_DISABLE_PLUGIN_AUTOLOAD", raising=False)
2079 pytester.makeini(
2080 """
2081 [pytest]
2082 console_output_style = count
2083 """
2084 )
2085 output = pytester.runpytest("-n2")
2086 output.stdout.re_match_lines([r"\.{20} \s+ \[20/20\]"])
2087
2088 def test_xdist_verbose(
2089 self, many_tests_files, pytester: Pytester, monkeypatch

Callers

nothing calls this directly

Calls 4

delenvMethod · 0.80
re_match_linesMethod · 0.80
makeiniMethod · 0.45
runpytestMethod · 0.45

Tested by

no test coverage detected