Skip to content

Commit

Permalink
check for empty controls in test_anon_rootdse_search()
Browse files Browse the repository at this point in the history
  • Loading branch information
stroeder committed Apr 26, 2017
1 parent 96dc9d1 commit 49dd66b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Tests/t_cext.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ def test_anon_rootdse_search(self):
self.assertEquals(result, _ldap.RES_SEARCH_RESULT)
self.assertEquals(pmsg[0][0], "") # rootDSE has no dn
self.assertEquals(msgid, m)
self.assertEquals(ctrls, [])
root_dse = pmsg[0][1]
self.assertTrue('objectClass' in root_dse)
self.assertTrue('OpenLDAProotDSE' in root_dse['objectClass'])
Expand Down

0 comments on commit 49dd66b

Please sign in to comment.