about summary refs log tree commit diff
path: root/README.md
diff options
context:
space:
mode:
authorClaude Sonnet 4.62026-06-15 17:51:00 +0000
committerFrederick Muriuki Muriithi2026-06-15 12:58:31 -0500
commitb34a606fbffcf3c2baf1ceb234f6990928d82564 (patch)
treeced82baec8e93349a7b32f218ff15158778d3c03 /README.md
parent28667600ac91f3dfe2da7481d13532e332e14b15 (diff)
downloadgn-integration-tests-b34a606fbffcf3c2baf1ceb234f6990928d82564.tar.gz
conftest: file-based credentials for auth-flow tests
Replace individual GN_TEST_EMAIL/GN_TEST_PASSWORD/GN_OAUTH2_CLIENT_ID/
GN_OAUTH2_CLIENT_SECRET env vars with GN_TEST_USERS_FILE and
GN_TEST_CLIENT_FILE, which point to the JSON files produced by the CI
test-session setup commands (create-test-users, create-test-oauth2-client).

The oauth2_credentials fixture retains the individual env var fallback so
manual runs against an existing account still work.  basic_oauth2_credentials
requires the file-based approach (basic users are only created by the CI
setup, not for manual runs).

Adds _read_json_file and _user_by_role helpers, and appends
basic_oauth2_credentials and basic_access_token fixtures.
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions