Lines Matching refs:policy_value
82 def _test_images_blocked_for_urls(self, policy_value, policies_json):
91 @param policy_value: policy value expected on chrome://policy page.
95 self.setup_case(self.POLICY_NAME, policy_value, policies_json)
97 policy_value, policies_json)
107 # String |URL_HOST| will be found in string |policy_value| for
109 if policy_value is not None and self.URL_HOST in policy_value:
121 Set the expected |policy_value| and |policies_json| data based on the
123 line args, then use it to set the |policy_value| and blank out the
135 # |policy_value| to the given value, and |policies_json| to None.
136 policy_value = self.value
139 # Otherwise, set expected |policy_value| and setup |policies_json|
143 policy_value = None
146 policy_value = ','.join(self.URL1_DATA)
149 policy_value = ','.join(self.URL2_DATA)
152 policy_value = ','.join(self.URL3_DATA)
157 self._test_images_blocked_for_urls(policy_value, policies_json)