(
self, many_tests_files, pytester: Pytester, monkeypatch
)
| 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 |
| 2351 | ) -> None: |
| 2352 | pytest.importorskip("xdist") |
| 2353 | monkeypatch.delenv("PYTEST_DISABLE_PLUGIN_AUTOLOAD", raising=False) |
| 2354 | output = pytester.runpytest("-n2", "-v") |
| 2355 | output.stdout.re_match_lines_random( |
| 2356 | [ |
| 2357 | r"\[gw\d\] \[\s*\d+%\] PASSED test_bar.py::test_bar\[1\]", |
| 2358 | r"\[gw\d\] \[\s*\d+%\] PASSED test_foo.py::test_foo\[1\]", |
| 2359 | r"\[gw\d\] \[\s*\d+%\] PASSED test_foobar.py::test_foobar\[1\]", |
| 2360 | ] |
| 2361 | ) |
| 2362 | output.stdout.fnmatch_lines_random( |
| 2363 | [ |
| 2364 | line.translate(TRANS_FNMATCH) |
| 2365 | for line in [ |
| 2366 | "test_bar.py::test_bar[0] ", |
| 2367 | "test_foo.py::test_foo[0] ", |
| 2368 | "test_foobar.py::test_foobar[0] ", |
| 2369 | "[gw?] [ 5%] PASSED test_*[?] ", |
| 2370 | "[gw?] [ 10%] PASSED test_*[?] ", |
| 2371 | "[gw?] [ 55%] PASSED test_*[?] ", |
| 2372 | "[gw?] [ 60%] PASSED test_*[?] ", |
| 2373 | "[gw?] [ 95%] PASSED test_*[?] ", |
| 2374 | "[gw?] [100%] PASSED test_*[?] ", |
| 2375 | ] |
| 2376 | ] |
| 2377 | ) |
| 2378 | |
| 2379 | def test_xdist_times( |
| 2380 | self, many_tests_files, pytester: Pytester, monkeypatch |
nothing calls this directly
no test coverage detected