def test_hLsarLookupPrivilegeValue_hLsarLookupPrivilegeName(self): dce, rpctransport, policyHandle = self.connect() resp = lsad.hLsarLookupPrivilegeValue(dce, policyHandle,'SeTimeZonePrivilege' ) resp.dump() resp = lsad.hLsarLookupPrivilegeName(dce, policyHandle, resp['Value']) resp.dump() self.assertTrue( resp['Name'] == 'SeTimeZonePrivilege')