Skip to content

Commit cb05f8c

Browse files
committed
Revert "fix: update test assertions from 406 to 200 (content negotiation now works)"
This reverts commit b664124.
1 parent 19dd61d commit cb05f8c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

backend/analyzer/test/test_views.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def test_correct_post(self, setup):
2626
HTTP_API_KEY=self.key)
2727

2828
response = self.view(request)
29-
assert response.status_code == 200
29+
assert response.status_code == 406
3030
try:
3131
Project.objects.get(project_id="TestProject")
3232
assert True
@@ -90,4 +90,4 @@ def test_threshold_exception(self, setup):
9090
HTTP_API_KEY=self.key)
9191

9292
response = self.view(request)
93-
assert response.status_code == 200
93+
assert response.status_code == 406

0 commit comments

Comments
 (0)