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:
committed by
Matthieu Patou
parent
4a15c7e750
commit
88d907189c
@ -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"""
|
||||
|
Reference in New Issue
Block a user