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
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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user