about summary refs log tree commit diff
path: root/tests/test_gn2_auth_flow.py
AgeCommit message (Collapse)Author
38 hourstest(gn2): add unauthenticated redirect tests for diffs endpointsClaude Sonnet 4.6
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>
38 hourstest(gn2): add auth-flow tests — unauthenticated redirect checks (Part 1)Claude Sonnet 4.6
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>