Remove redundant parameter passed to assertTrue

True should not be passed to assertTrue, so this is to move it.

Change-Id: I97909ac566ab6e34f5a44204b6a5ccba2868285e
This commit is contained in:
zhufl 2019-06-28 17:15:55 +08:00
parent fa8b0766f2
commit 9b0e5c1154
1 changed files with 2 additions and 2 deletions

View File

@ -70,8 +70,8 @@ class LiveLDAPPoolIdentity(test_backend_ldap_pool.LdapPoolCommonTestMixin,
with _get_conn() as c1: # 1
self.assertEqual(1, len(ldappool_cm))
self.assertTrue(c1.connected, True)
self.assertTrue(c1.active, True)
self.assertTrue(c1.connected)
self.assertTrue(c1.active)
with _get_conn() as c2: # conn2
self.assertEqual(2, len(ldappool_cm))
self.assertTrue(c2.connected)