Use assertTrue/False instead of assertEqual(T/F)
The usage of assertEqual(True/False, ***) should be changed to a meaningful format of assertTrue/False(***). Change-Id: I269fb387648916cc8c7b0e1e474457bd0f37395a Closes-Bug:#1512207
This commit is contained in:
parent
ebb98396c4
commit
504a04ab93
|
@ -393,4 +393,4 @@ class TestSwift(tests_base.TestCase):
|
|||
'swift.source': 'RL'})
|
||||
with mock.patch('oslo_messaging.Notifier.info') as notify:
|
||||
list(app(req.environ, self.start_response))
|
||||
self.assertEqual(False, notify.called)
|
||||
self.assertFalse(notify.called)
|
||||
|
|
Loading…
Reference in New Issue