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: I0b20247ff52df5df552adc3daaaa3a0107cfb7fd
Closes-Bug: #1512207
This commit is contained in:
Kan 2016-01-07 02:41:48 +00:00
parent 83ed36c809
commit 2612cab7b3

View File

@ -86,7 +86,7 @@ class TestCheckAuth(base.BaseTest):
self.assertEqual('admin', args1['admin_user']) self.assertEqual('admin', args1['admin_user'])
self.assertEqual('admin', args1['admin_tenant_name']) self.assertEqual('admin', args1['admin_tenant_name'])
self.assertEqual('password', args1['admin_password']) self.assertEqual('password', args1['admin_password'])
self.assertEqual(True, args1['delay_auth_decision']) self.assertTrue(args1['delay_auth_decision'])
self.assertEqual('http://127.0.0.1:5000/v2.0', args1['auth_uri']) self.assertEqual('http://127.0.0.1:5000/v2.0', args1['auth_uri'])
self.assertEqual('http://127.0.0.1:35357', args1['identity_uri']) self.assertEqual('http://127.0.0.1:35357', args1['identity_uri'])