def gpo_flags_string(value): '''return gpo flags string''' flags = policy.get_gpo_flags(value) if not flags: ret = 'NONE' else: ret = ' '.join(flags) return ret
def test_get_gpo_flags(self): self.assertEquals(["GPO_FLAG_USER_DISABLE"], policy.get_gpo_flags(policy.GPO_FLAG_USER_DISABLE))