users with correct credentials but disabled are forbidden not unauthorized

This commit is contained in:
Jesse Andrews 2012-01-19 18:13:05 -08:00
parent 3d2bb3a355
commit 2a91b1c06e
1 changed files with 1 additions and 1 deletions

View File

@ -214,7 +214,7 @@ class KcMasterTestCase(CompatTestCase):
self.assertFalse(user.enabled) self.assertFalse(user.enabled)
# TODO(ja): test that you can't login # TODO(ja): test that you can't login
self.assertRaises(client_exceptions.Unauthorized, self.assertRaises(client_exceptions.Forbidden,
self._client, self._client,
username=test_username, username=test_username,
password='password') password='password')