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:
parent
fa8b0766f2
commit
9b0e5c1154
@ -70,8 +70,8 @@ class LiveLDAPPoolIdentity(test_backend_ldap_pool.LdapPoolCommonTestMixin,
|
|||||||
|
|
||||||
with _get_conn() as c1: # 1
|
with _get_conn() as c1: # 1
|
||||||
self.assertEqual(1, len(ldappool_cm))
|
self.assertEqual(1, len(ldappool_cm))
|
||||||
self.assertTrue(c1.connected, True)
|
self.assertTrue(c1.connected)
|
||||||
self.assertTrue(c1.active, True)
|
self.assertTrue(c1.active)
|
||||||
with _get_conn() as c2: # conn2
|
with _get_conn() as c2: # conn2
|
||||||
self.assertEqual(2, len(ldappool_cm))
|
self.assertEqual(2, len(ldappool_cm))
|
||||||
self.assertTrue(c2.connected)
|
self.assertTrue(c2.connected)
|
||||||
|
Loading…
Reference in New Issue
Block a user