diff options
author | Matthieu Patou <mat@matws.net> | 2011-02-26 21:34:43 +0300 |
---|---|---|
committer | Matthieu Patou <mat@samba.org> | 2011-03-20 11:27:26 +0100 |
commit | 88d907189ce00a5ab509bdbe8a528ab493a4f6f8 (patch) | |
tree | 0185564a5e543bc41663968772c07253ba468a96 /source4/dsdb/tests | |
parent | 4a15c7e7502e174a5ecb47f85c327d12a367056d (diff) | |
download | samba-88d907189ce00a5ab509bdbe8a528ab493a4f6f8.tar.gz samba-88d907189ce00a5ab509bdbe8a528ab493a4f6f8.tar.bz2 samba-88d907189ce00a5ab509bdbe8a528ab493a4f6f8.zip |
pyldb: add more tests for control manipulation
Diffstat (limited to 'source4/dsdb/tests')
-rwxr-xr-x | source4/dsdb/tests/python/ldap.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/dsdb/tests/python/ldap.py b/source4/dsdb/tests/python/ldap.py index 1a9be96102..a49dbf0023 100755 --- 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""" |