Commit 783e96fe8dad12ea6adee2cf0bd9e4ed3f2908c1
1 parent
b9d4dd7cc6
Exists in
master
Fixed a comment.
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
flashcards/tests/test_api.py
View file @
783e96f
... | ... | @@ -47,7 +47,7 @@ |
47 | 47 | response = self.client.post(url) |
48 | 48 | self.assertEqual(response.status_code, HTTP_204_NO_CONTENT) |
49 | 49 | |
50 | - # since we're not logged in, we shouldn't be able to see this | |
50 | + # since we're not logged in, we should get a 401 response | |
51 | 51 | response = self.client.get('/api/users/me', format='json') |
52 | 52 | self.assertEqual(response.status_code, HTTP_401_UNAUTHORIZED) |
53 | 53 |