about summary refs log tree commit diff
path: root/tests/test_gn2_auth_flow.py
diff options
context:
space:
mode:
authorClaude Sonnet 4.62026-09-02 18:45:27 +0000
committerFrederick Muriuki Muriithi2026-09-02 13:48:05 -0500
commite2a7c568ae488534fd2e38fbb7847d9a985557d5 (patch)
tree412ac5f27603cf8f259beb46b844daca610a7f28 /tests/test_gn2_auth_flow.py
parent1b14f9310ae1abd436a14cf8d60ea723690cb053 (diff)
downloadgn-integration-tests-e2a7c568ae488534fd2e38fbb7847d9a985557d5.tar.gz
test(gn-auth): system/roles role shape and authenticated data authorisation
Add two contract tests:

- system/roles with token: verify response is a non-empty list of role
  objects each containing a 'role_name' field.
- data/authorisation with token for public trait: verify authenticated
  path returns 200 (the token path through require_oauth.acquire).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Reviewed-By: Frederick M. Muriithi <fredmanglis@gmail.com>
Diffstat (limited to 'tests/test_gn2_auth_flow.py')
0 files changed, 0 insertions, 0 deletions