Small readability change to test_keystoneauth

Changed assertTrue to assertIsNone for better readability

Change-Id: Ibc83c32ccfb5165abf897a15cf2692414a7f95c3
Signed-off-by: Sachin Patil <psachin@redhat.com>
This commit is contained in:
Sachin Patil 2017-08-26 17:36:56 +05:30 committed by Matthew Oliver
parent f5ded0519c
commit fb07863155

View File

@ -623,7 +623,7 @@ class TestAuthorize(BaseTestAuthorize):
elif exception:
self.assertEqual(result.status_int, exception)
else:
self.assertTrue(result is None)
self.assertIsNone(result)
return req
def test_authorize_fails_for_unauthorized_user(self):