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:
Swapnil Kulkarni (coolsvap) 2016-01-07 14:37:23 +05:30
parent ebb98396c4
commit 504a04ab93
1 changed files with 1 additions and 1 deletions

View File

@ -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)