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

Method test_xdist_normal_count

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

Source from the content-addressed store, hash-verified

2333 output.stdout.re_match_lines([r"\.{20} \s+ \[100%\]"])
2334
2335 def test_xdist_normal_count(
2336 self, many_tests_files, pytester: Pytester, monkeypatch
2337 ) -> None:
2338 pytest.importorskip("xdist")
2339 monkeypatch.delenv("PYTEST_DISABLE_PLUGIN_AUTOLOAD", raising=False)
2340 pytester.makeini(
2341 """
2342 [pytest]
2343 console_output_style = count
2344 """
2345 )
2346 output = pytester.runpytest("-n2")
2347 output.stdout.re_match_lines([r"\.{20} \s+ \[20/20\]"])
2348
2349 def test_xdist_verbose(
2350 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