1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-31 20:22:15 +03:00

pyldb: add more tests for control manipulation

This commit is contained in:
Matthieu Patou
2011-02-26 21:34:43 +03:00
committed by Matthieu Patou
parent 4a15c7e750
commit 88d907189c

View File

@ -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"""