Skip to content

Commit 49dd66b

Browse files
author
stroeder
committed
check for empty controls in test_anon_rootdse_search()
1 parent 96dc9d1 commit 49dd66b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Tests/t_cext.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@ def test_anon_rootdse_search(self):
174174
self.assertEquals(result, _ldap.RES_SEARCH_RESULT)
175175
self.assertEquals(pmsg[0][0], "") # rootDSE has no dn
176176
self.assertEquals(msgid, m)
177+
self.assertEquals(ctrls, [])
177178
root_dse = pmsg[0][1]
178179
self.assertTrue('objectClass' in root_dse)
179180
self.assertTrue('OpenLDAProotDSE' in root_dse['objectClass'])

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy