test: add cross-endpoint integration and error-handling suites #62
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "test/backend-integration-error-suites"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
tests/API_TEST_PLAN.mddocumented but never actually wrote:test_api_integration.py(workflows spanning multiple endpoints) andtest_api_errors.py(404/401/403/422 consistency sweeps + injection-style/large-payload input handling).<script>input stored as literal data (not executed / doesn't corrupt tables), and large payloads (500 bogus IDs, 200 review decisions) handled without crashing.GET /api/v1/faces/unidentifiedhas no auth dependency, unlike its sibling routes. Didn't fix it (out of scope / not asked), just captured it as a passing, clearly-commented test so it's a visible, deliberate change if/when auth is added there.Test plan