diff options
| author | Claude Sonnet 4.6 | 2026-08-26 19:47:32 +0000 |
|---|---|---|
| committer | Frederick Muriuki Muriithi | 2026-08-26 14:52:18 -0500 |
| commit | 522865ba4e792b8ae0ed4b4dc5c65be821a03359 (patch) | |
| tree | 8876838a670b9edb2c0ba157f07b3f91114924e5 /gn_auth/errors/authlib.py | |
| parent | 6734875699d1d0c55584a532dd2fd8d1d65016c8 (diff) | |
| download | gn-auth-522865ba4e792b8ae0ed4b4dc5c65be821a03359.tar.gz | |
tests(admin): success-path tests for POST /auth/user/<uid>/roles/assign
Adds 200-status and DB-persistence checks. Both use try/finally to call _revoke_assigned_role so the DB is left in the state the fixtures expect, preventing surprises in teardown or future tests. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Reviewed-By: Frederick M. Muriithi <fredmanglis@gmail.com>
Diffstat (limited to 'gn_auth/errors/authlib.py')
0 files changed, 0 insertions, 0 deletions
