about summary refs log tree commit diff
path: root/tests/test_gn_auth_auth_flow.py
diff options
context:
space:
mode:
authorClaude Sonnet 4.62026-09-02 17:12:09 +0000
committerFrederick Muriuki Muriithi2026-09-02 12:14:32 -0500
commit88b88bb52602f85de335de0bc45fabfcc7072b2d (patch)
treeeb0472e1d08d5f4b0c1d826956bd5f0c53905910 /tests/test_gn_auth_auth_flow.py
parent1ad5a66b33cd880234937fe2e069a09887698265 (diff)
downloadgn-integration-tests-88b88bb52602f85de335de0bc45fabfcc7072b2d.tar.gz
test(gn2): add auth-flow tests — unauthenticated redirect checks (Part 1)
Two tests covering @login_required enforcement on the metadata-edit
blueprint (prefix: /datasets/).  No credentials required — these fire
as part of the gn2 auth_flow suite.

  test_unauthenticated_display_phenotype_redirects
    GET /datasets/<dataset_id>/traits/<name> → 301/302 without session

  test_unauthenticated_update_phenotype_redirects
    POST /datasets/<dataset_id>/traits/<name> → 301/302 without session

Co-Authored-By: Frederick Muriuki Muriithi <fmuriit1@uthsc.edu>
Diffstat (limited to 'tests/test_gn_auth_auth_flow.py')
0 files changed, 0 insertions, 0 deletions