diff options
| author | Claude | 2026-08-25 18:49:29 +0000 |
|---|---|---|
| committer | Frederick Muriuki Muriithi | 2026-08-25 13:58:30 -0500 |
| commit | a68a6f89a0ac13f0bfcd527d053f4226da528892 (patch) | |
| tree | 85c1c2de04f0f3c0d1b2091905f591bd0f01d64b /tests/test_gn3_case_attr_access.py | |
| parent | 36d66702b7e8afa7449c9aebf305c276785b648f (diff) | |
| download | gn-integration-tests-a68a6f89a0ac13f0bfcd527d053f4226da528892.tar.gz | |
test(gn3/case-attr): assert 201 and queued status for valid-token edit
Two new integration tests on POST /case-attribute/<id>/edit that go past the auth layer and verify actual business-logic behaviour: * test_edit_with_valid_token_returns_201 — status code must be 201 * test_edit_with_valid_token_queues_diff — body must contain diff-status='queued' The edit endpoint queues rather than immediately modifying the DB, so these tests are safe to run against CD without side-effects. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Reviewed-By: Frederick M. Muriithi <fredmanglis@gmail.com>
Diffstat (limited to 'tests/test_gn3_case_attr_access.py')
0 files changed, 0 insertions, 0 deletions
