diff options
author | Tulio Casagrande <tcasagra@thoughtworks.com> | 2016-12-01 17:20:36 -0200 |
---|---|---|
committer | Tulio Casagrande <tcasagra@thoughtworks.com> | 2016-12-01 17:20:36 -0200 |
commit | 8b26f3f40e3f5d04a02528c81616a231d8f8428a (patch) | |
tree | a98e12a1fe0406d8dcc5279b36c1ba8905e4ed0a /service/test/unit | |
parent | e4fd5581c91e97940fe893eda42a8f200d1e8d22 (diff) |
[#849] Change unauthorized message
Diffstat (limited to 'service/test/unit')
-rw-r--r-- | service/test/unit/resources/test_login_resource.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/service/test/unit/resources/test_login_resource.py b/service/test/unit/resources/test_login_resource.py index d3d7ba64..45036f8d 100644 --- a/service/test/unit/resources/test_login_resource.py +++ b/service/test/unit/resources/test_login_resource.py @@ -206,7 +206,7 @@ class TestLoginPOST(unittest.TestCase): mock_authenticate.assert_called_once_with(self.username, self.password) self.assertEqual(401, self.request.responseCode) written_response = ''.join(self.request.written) - self.assertIn('Invalid credentials', written_response) + self.assertIn('Invalid username or password', written_response) self.assertFalse(mock_user_bootstrap_setup.called) self.assertFalse(self.resource.get_session(self.request).is_logged_in()) |