From 88d907189ce00a5ab509bdbe8a528ab493a4f6f8 Mon Sep 17 00:00:00 2001 From: Matthieu Patou Date: Sat, 26 Feb 2011 21:34:43 +0300 Subject: pyldb: add more tests for control manipulation --- source4/dsdb/tests/python/ldap.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source4/dsdb/tests/python') 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""" -- cgit