Lines Matching refs:strategy
972 strategy = hosts.RepairStrategy(verify_data, [])
975 strategy._verify_root._dependency_list,
991 strategy = hosts.RepairStrategy(verify_data, [])
995 strategy._verify_root._dependency_list, [parent])
1016 strategy = hosts.RepairStrategy(verify_data, [])
1021 strategy._verify_root._dependency_list,
1048 strategy = hosts.RepairStrategy(verify_data, [])
1053 strategy._verify_root._dependency_list,
1072 strategy = hosts.RepairStrategy(verify_data, [])
1078 strategy.verify(self._fake_host, silent)
1085 strategy.verify(self._fake_host, silent)
1104 def _check_common_trigger(self, strategy, repair_tags, triggers): argument
1105 self.assertEqual(strategy._repair_actions,
1126 strategy = self._make_strategy(verify_input, repair_input)
1127 self._check_common_trigger(strategy,
1146 strategy = self._make_strategy([], repair_input)
1147 self._check_common_trigger(strategy,
1149 [strategy._verify_root])
1173 strategy = self._make_strategy(verify_input, repair_input)
1174 self._check_common_trigger(strategy,
1193 strategy = self._make_strategy(verify_input, repair_input)
1194 self.assertEqual(strategy._repair_actions,
1201 def _check_repair_failure(self, strategy, silent): argument
1217 for a in strategy._repair_actions]
1219 strategy.repair(self._fake_host, silent)
1225 def _check_repair_success(self, strategy, silent): argument
1239 for a in strategy._repair_actions]
1240 strategy.repair(self._fake_host, silent)
1269 strategy = self._make_strategy(verify_input, repair_input)
1273 self._check_repair_failure(strategy, silent)
1277 self._check_repair_success(strategy, silent)
1283 self._check_repair_failure(strategy, silent)
1289 self._check_repair_failure(strategy, silent)