Home | History | Annotate | Download | only in policy_ManagedBookmarks

Lines Matching refs:policy_value

62     def _test_managed_bookmarks(self, policy_value, policies_json):
69 @param policy_value: policy value expected on chrome://policy page.
73 self.setup_case(self.POLICY_NAME, policy_value, policies_json)
74 logging.info('Running _test_managed_bookmarks(policy_value=%s, '
75 'policies_json=%s)', policy_value, policies_json)
76 if policy_value is None:
77 if self._managed_bookmarks_are_shown(policy_value):
80 if not self._managed_bookmarks_are_shown(policy_value):
153 Set the expected |policy_value| string and |policies_json| data based
155 command line args, then use it to set the |policy_value| and blank out
162 # If |value| was given by user, then set expected |policy_value|
164 policy_value = self.value
167 # Otherwise, set expected |policy_value| and setup |policies_json|
171 policy_value = None
174 policy_value = self.TEST_CASES[case]
175 policy_json = {self.POLICY_NAME: ('[%s]' % policy_value)}
179 self._test_managed_bookmarks(policy_value, policies_json)