Lines Matching refs:policy_value
81 def _test_images_allowed_for_urls(self, policy_value, policies_json):
90 @param policy_value: policy value expected on chrome://policy page.
94 self.setup_case(self.POLICY_NAME, policy_value, policies_json)
96 policy_value, policies_json)
106 # String |URL_HOST| will be found in string |policy_value| for
108 if policy_value is not None and self.URL_HOST in policy_value:
120 Set the expected |policy_value| and |policies_json| data based on the
122 line args, then use it to set the |policy_value| and blank out the
134 # |policy_value| to the given value, and |policies_json| to None.
135 policy_value = self.value
138 # Otherwise, set expected |policy_value| and setup |policies_json|
142 policy_value = None
145 policy_value = ','.join(self.URL1_DATA)
148 policy_value = ','.join(self.URL2_DATA)
151 policy_value = ','.join(self.URL3_DATA)
156 self._test_images_allowed_for_urls(policy_value, policies_json)