Refactor code for improved readability and consistency across multiple files
Gitea Actions CI / detect (push) Successful in 3s
Gitea Actions CI / Compose & nginx validation (push) Failing after 14s
Gitea Actions CI / Frontend (lint / type / test / build) (push) Successful in 45s
Gitea Actions CI / Backend (lint / type / test / build) (push) Successful in 1m31s

This commit is contained in:
k1nq
2026-09-23 15:22:26 +05:00
parent f5ae63e158
commit 970fe9dacf
9 changed files with 39 additions and 75 deletions
+1 -3
View File
@@ -58,9 +58,7 @@ def category_ids(client: TestClient) -> dict[str, str]:
)
assert response.status_code == 200, response.text
return {
item["systemKey"]: item["id"]
for item in response.json()
if item["systemKey"] is not None
item["systemKey"]: item["id"] for item in response.json() if item["systemKey"] is not None
}