Home | History | Annotate | Download | only in policy_URLBlacklist

Lines Matching refs:policy_value

123     def _test_URLBlacklist(self, policy_value, policies_json):
131 @param policy_value: policy value expected on chrome://policy page.
138 self.setup_case(POLICY_NAME, policy_value, policies_json)
140 policy_value, policies_json)
144 if policy_value:
145 if url in policy_value and not url_is_blocked:
156 Set the expected |policy_value| and |policies_json| data based on the
158 line args, then use it to set the |policy_value| and blank out the
164 policy_value = None
173 # |policy_value| to the given value, and |policies_json| to None.
174 policy_value = self.value
177 # Otherwise, set expected |policy_value| and setup |policies_json|
180 policy_value = None
183 policy_value = ','.join(SINGLE_BLACKLISTED_FILE_DATA)
187 policy_value = ','.join(MULTIPLE_BLACKLISTED_FILES_DATA)
193 self._test_URLBlacklist(policy_value, policies_json)