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