From 519d2136f4263a6d99a736f93d32069b89f2296d Mon Sep 17 00:00:00 2001 From: stroeder Date: Wed, 26 Apr 2017 20:39:12 +0000 Subject: [PATCH] more attribute checks in test_simple_anonymous_bind --- Tests/t_cext.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Tests/t_cext.py b/Tests/t_cext.py index a93265e..51c446a 100644 --- a/Tests/t_cext.py +++ b/Tests/t_cext.py @@ -161,7 +161,12 @@ def test_simple_anonymous_bind(self): self.assertEquals(ctrls, []) # see if we can get the rootdse while we're here - m = l.search_ext("", _ldap.SCOPE_BASE, '(objectClass=*)') + m = l.search_ext( + "", + _ldap.SCOPE_BASE, + '(objectClass=*)', + ['objectClass', 'namingContexts'], + ) result, pmsg, msgid, ctrls = l.result4(m, _ldap.MSG_ALL, self.timeout) self.assertEquals(result, _ldap.RES_SEARCH_RESULT) self.assertEquals(pmsg[0][0], "") # rootDSE has no dn