Fix fixture-free CI test collection
Gitea Actions CI / detect (push) Successful in 3s
Gitea Actions CI / Compose & nginx validation (push) Failing after 21s
Gitea Actions CI / Frontend (lint / type / test / build) (push) Failing after 23s
Gitea Actions CI / Backend (lint / type / test / build) (push) Failing after 1m19s

This commit is contained in:
k1nq
2026-09-18 18:26:12 +05:00
parent fb91da7917
commit ae2d4165e5
4 changed files with 44 additions and 41 deletions
+4 -1
View File
@@ -79,7 +79,10 @@ def _fail(name: str, message: str) -> None:
pytest.fail(f"{name}: {message}", pytrace=False)
@pytest.fixture(params=PARAMS, ids=[entry.get("filename", "unavailable") for entry in PARAMS])
@pytest.fixture(
params=PARAMS,
ids=[entry.get("filename", "unavailable") if entry else "unavailable" for entry in PARAMS],
)
def parsed(request: pytest.FixtureRequest):
entry = request.param
if entry is None: