Merge "Small readability change to test_keystoneauth"
This commit is contained in:
commit
9c3ef2dff8
@ -623,7 +623,7 @@ class TestAuthorize(BaseTestAuthorize):
|
|||||||
elif exception:
|
elif exception:
|
||||||
self.assertEqual(result.status_int, exception)
|
self.assertEqual(result.status_int, exception)
|
||||||
else:
|
else:
|
||||||
self.assertTrue(result is None)
|
self.assertIsNone(result)
|
||||||
return req
|
return req
|
||||||
|
|
||||||
def test_authorize_fails_for_unauthorized_user(self):
|
def test_authorize_fails_for_unauthorized_user(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user