Lines Matching refs:policy_value
128 def _test_URLWhitelist(self, policy_value, policies_json):
137 @param policy_value: policy value expected on chrome://policy page.
145 policy_value, policies_json)
146 self.setup_case(POLICY_NAME, policy_value, policies_json)
150 if policy_value:
151 if url in policy_value and url_is_blocked:
154 elif url not in policy_value and not url_is_blocked:
166 Set the expected |policy_value| and |policies_json| data based on the
168 line args, then use it to set the |policy_value| and blank out the
174 policy_value = None
179 # |policy_value| to the given value, and |policies_json| to None.
180 policy_value = self.value
183 # Otherwise, set expected |policy_value| and setup |policies_json|
187 policy_value = None
189 policy_value = ','.join(self.TEST_CASES[case])
193 self._test_URLWhitelist(policy_value, policies_json)