mirror of
https://github.com/samba-team/samba.git
synced 2025-08-02 00:22:11 +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"])
|
controls=["paged_result:1:10"])
|
||||||
self.assertEquals(len(res.controls), 1)
|
self.assertEquals(len(res.controls), 1)
|
||||||
self.assertEquals(res.controls[0].oid, "1.2.840.113556.1.4.319")
|
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):
|
def test_operational(self):
|
||||||
"""Tests operational attributes"""
|
"""Tests operational attributes"""
|
||||||
|
Reference in New Issue
Block a user