From 783e96fe8dad12ea6adee2cf0bd9e4ed3f2908c1 Mon Sep 17 00:00:00 2001 From: Rohan Rangray Date: Fri, 8 May 2015 15:53:08 -0700 Subject: [PATCH] Fixed a comment. --- flashcards/tests/test_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flashcards/tests/test_api.py b/flashcards/tests/test_api.py index 95efd2e..4e07a36 100644 --- a/flashcards/tests/test_api.py +++ b/flashcards/tests/test_api.py @@ -47,7 +47,7 @@ class LoginTests(APITestCase): response = self.client.post(url) self.assertEqual(response.status_code, HTTP_204_NO_CONTENT) - # since we're not logged in, we shouldn't be able to see this + # since we're not logged in, we should get a 401 response response = self.client.get('/api/users/me', format='json') self.assertEqual(response.status_code, HTTP_401_UNAUTHORIZED) -- 1.9.1