Skip to content

Commit

Permalink
cosmetics in TestLdapCExtension.test_errno107()
Browse files Browse the repository at this point in the history
  • Loading branch information
stroeder committed Apr 26, 2017
1 parent 10a4d50 commit 30a3be6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Tests/t_cext.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,11 @@ def test_simple_anonymous_bind(self):
self.assertEquals(result, _ldap.RES_SEARCH_RESULT)
self.assertEquals(pmsg[0][0], "") # rootDSE has no dn
self.assertEquals(msgid, m)
self.assertTrue(pmsg[0][1].has_key('objectClass'))
root_dse = pmsg[0][1]
self.assertTrue('objectClass' in root_dse)
self.assertTrue('OpenLDAProotDSE' in root_dse['objectClass'])
self.assertTrue('namingContexts' in root_dse)
self.assertEquals(root_dse['namingContexts'], [self.server.suffix])

def test_unbind(self):
l = self._open_conn()
Expand Down

0 comments on commit 30a3be6

Please sign in to comment.