Api tests #14

Merged
pi3c merged 1 commits from feature/migrations-ci into dev 2026-05-10 11:21:59 +00:00
Owner
No description provided.
pi3c added 1 commit 2026-05-10 11:14:33 +00:00
test(api): add full API test suite with get_keycloak_client async fix
All checks were successful
ci/woodpecker/pr/pipeline Pipeline was successful
e9271c850a
Add 45 API tests covering all 12 post endpoints (CRUD, publish/unpublish) with RBAC policy coverage across guest, user, admin roles.

Fix get_keycloak_client() in deps.py to be async - Dishka's async container requires await on get(), without it a coroutine object was returned instead of the actual client.
pi3c merged commit 4e6505c598 into dev 2026-05-10 11:21:59 +00:00
pi3c deleted branch feature/migrations-ci 2026-05-10 11:21:59 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: pi3c/blog.pyaqa.ru#14