Merge "Using assertFalse(A) instead of assertEqual(False, A)"
This commit is contained in:
commit
64e0533cbd
@ -478,7 +478,7 @@ class GeneralAuthTokenMiddlewareTest(BaseAuthTokenMiddlewareTest,
|
|||||||
middleware = auth_token.AuthProtocol(self.fake_app, conf)
|
middleware = auth_token.AuthProtocol(self.fake_app, conf)
|
||||||
self.assertEqual(datetime.timedelta(seconds=24),
|
self.assertEqual(datetime.timedelta(seconds=24),
|
||||||
middleware._revocations._cache_timeout)
|
middleware._revocations._cache_timeout)
|
||||||
self.assertEqual(False, middleware._include_service_catalog)
|
self.assertFalse(middleware._include_service_catalog)
|
||||||
self.assertEqual('0', middleware._conf.get('nonexsit_option'))
|
self.assertEqual('0', middleware._conf.get('nonexsit_option'))
|
||||||
|
|
||||||
def test_deprecated_conf_values(self):
|
def test_deprecated_conf_values(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user