From 49dd66be44f1a29a119c476a0ee52c3ec08c0f4f Mon Sep 17 00:00:00 2001 From: stroeder Date: Wed, 26 Apr 2017 20:51:49 +0000 Subject: [PATCH] check for empty controls in test_anon_rootdse_search() --- Tests/t_cext.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Tests/t_cext.py b/Tests/t_cext.py index f3d6283..595d3cd 100644 --- a/Tests/t_cext.py +++ b/Tests/t_cext.py @@ -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'])