Private
Public Access
fix(run_tests_batched): filter xdist scheduling queue output (test paths without status prefix)
This commit is contained in:
@@ -106,6 +106,8 @@ def _format_pytest_line(line: str) -> str | None:
|
|||||||
for sub in _NOISE_SUBSTRINGS:
|
for sub in _NOISE_SUBSTRINGS:
|
||||||
if sub in stripped:
|
if sub in stripped:
|
||||||
return None
|
return None
|
||||||
|
if stripped.startswith(("tests/", "tests\\")) and "::" in stripped and len(stripped.split()) == 1:
|
||||||
|
return None
|
||||||
if " PASSED " in stripped and "[gw" in stripped:
|
if " PASSED " in stripped and "[gw" in stripped:
|
||||||
return _c(stripped, _C.GREEN)
|
return _c(stripped, _C.GREEN)
|
||||||
if " FAILED " in stripped and "[gw" in stripped:
|
if " FAILED " in stripped and "[gw" in stripped:
|
||||||
|
|||||||
Reference in New Issue
Block a user