git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a15c7e
)
pyldb: add more tests for control manipulation
author
Matthieu Patou
<mat@matws.net>
Sat, 26 Feb 2011 18:34:43 +0000
(21:34 +0300)
committer
Matthieu Patou
<mat@samba.org>
Sun, 20 Mar 2011 10:27:26 +0000
(11:27 +0100)
source4/dsdb/tests/python/ldap.py
patch
|
blob
|
history
diff --git
a/source4/dsdb/tests/python/ldap.py
b/source4/dsdb/tests/python/ldap.py
index 1a9be96102dc648cf1e54a82d2c29a02074bf498..a49dbf0023f11bd4f7960a43a2c5af5d8b297d35 100755
(executable)
--- a/
source4/dsdb/tests/python/ldap.py
+++ b/
source4/dsdb/tests/python/ldap.py
@@
-2658,6
+2658,10
@@
nTSecurityDescriptor:: """ + desc_base64
controls=["paged_result:1:10"])
self.assertEquals(len(res.controls), 1)
self.assertEquals(res.controls[0].oid, "1.2.840.113556.1.4.319")
+ try:
+ s = str(res.controls[0])
+ except:
+ self.assertFalse(True)
def test_operational(self):
"""Tests operational attributes"""