

def test_from_sddl_invalidtype2(self):
    sddl = 'O:AOG:DAD:(A;;RPWPCCDCLCSWRCWDWOGA;;;S-1-0-0)'
    self.assertRaises(TypeError, security.descriptor.from_sddl, sddl, 'S-2-0-0')

dataset/ETHPy150Open byt3bl33d3r/pth-toolkit/lib/python2.7/site-packages/samba/tests/security.py SecurityDescriptorTests.test_from_sddl_invalidtype2/original