Problem
The boost endpoint's HTTP layer (views, URL routing, authentication) has no test coverage. Without tests, regressions in input validation, auth enforcement, or response shapes will go undetected. A comprehensive HTTP test is needed that exercises the DRF views through Django's test client, covering happy paths, validation failures, and authentication edge cases.
Acceptance Criteria
References
- Related files:
views.py, urls.py, tasks.py
Problem
The boost endpoint's HTTP layer (views, URL routing, authentication) has no test coverage. Without tests, regressions in input validation, auth enforcement, or response shapes will go undetected. A comprehensive HTTP test is needed that exercises the DRF views through Django's test client, covering happy paths, validation failures, and authentication edge cases.
Acceptance Criteria
GET /info/returns200with JSON containingname,version, andcapabilitieskeysPOST /add-or-update/with valid payload and valid authentication returns202with a JSON bodyPOST /add-or-update/returns401or403401or403References
views.py,urls.py,tasks.py