Searched refs:retrieved_policy (Results 1 – 6 of 6) sorted by relevance
45 retrieved_policy = policy.get_policy(self._session_manager)46 if retrieved_policy is None: raise error.TestFail('Policy not found')47 policy.compare_policy_response(retrieved_policy, owner=expected_owner)61 retrieved_policy = policy.get_policy(self._session_manager)62 if retrieved_policy is None: raise error.TestFail('Policy not found')63 policy.compare_policy_response(retrieved_policy, owner=expected_owner)
28 def _validate_policy(self, retrieved_policy, username): argument33 response_proto.ParseFromString(retrieved_policy)54 retrieved_policy = sm.RetrievePolicyEx(57 if retrieved_policy is None:59 self._validate_policy(retrieved_policy, cr.username)
64 retrieved_policy = policy.get_policy(sm)65 if retrieved_policy is None: raise error.TestFail('Policy not found')66 policy.compare_policy_response(retrieved_policy,74 policy.compare_policy_response(retrieved_policy,
45 retrieved_policy = policy.get_policy(self._session_manager)46 if retrieved_policy is None: raise error.TestFail('Policy not found')47 policy.compare_policy_response(retrieved_policy, owner=owner)
162 retrieved_policy = sm.RetrievePolicyEx(descriptor, byte_arrays=True)163 if retrieved_policy != policy_string:164 raise error.TestFail('Policy should not be %s' % retrieved_policy)
87 retrieved_policy = sm.RetrievePolicyEx(90 if retrieved_policy: