Commit 272c3f8e550dd9aec6699a1f5e74f90b1bca53a5
1 parent
6e9adabd2b
Exists in
master
Fixed typo in test_api.py from HTTP_404_NOT_FOUND to HTTP_200_OK
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
flashcards/tests/test_api.py
View file @
272c3f8
... | ... | @@ -282,7 +282,7 @@ |
282 | 282 | |
283 | 283 | def test_section_search(self): |
284 | 284 | response = self.client.get('/api/sections/search/?q=Kramer') |
285 | - self.assertEqual(response.status_code, HTTP_404_NOT_FOUND) | |
285 | + self.assertEqual(response.status_code, HTTP_200_OK) | |
286 | 286 | |
287 | 287 | def test_section_deck(self): |
288 | 288 | self.user.sections.add(self.section) |