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:20:23 +0000
committerFrederick Muriuki Muriithi2026-09-02 12:25:33 -0500
commit08f3c10add440b4b71dd625c94775820e3076eb5 (patch)
treebb9e191e42d97b4dd6deebe1002f35b21abfb7b2 /tests/test_gn_auth_auth_flow.py
parent88b88bb52602f85de335de0bc45fabfcc7072b2d (diff)
downloadgn-integration-tests-08f3c10add440b4b71dd625c94775820e3076eb5.tar.gz
test(gn2): add unauthenticated redirect tests for diffs endpoints
Extends Part 1 of the gn2 auth-flow suite with four more @login_required
checks covering the remaining metadata-edit endpoints:

  test_unauthenticated_list_diffs_redirects
    GET /datasets/diffs → 301/302 without session

  test_unauthenticated_show_diff_redirects
    GET /datasets/diffs/<name> → 301/302 without session

  test_unauthenticated_approve_diff_redirects
    POST /datasets/<resource_id>/diffs/<name>/approve → 301/302

  test_unauthenticated_reject_diff_redirects
    POST /datasets/<resource_id>/diffs/<name>/reject → 301/302

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