Searched refs:mock_run_cmd (Results 1 – 1 of 1) sorted by relevance
144 def test_image_machine(self, mock_checksummer, mock_run_croscmd, mock_run_cmd, argument160 mock_run_cmd.reset_mock()169 self.mock_cmd_exec.RunCommand = mock_run_cmd182 self.assertEqual(mock_run_cmd.call_count, 0)188 mock_run_cmd.return_value = 0197 mock_run_cmd.return_value = 1202 self.assertEqual(mock_run_cmd.call_count, 2)205 image_call_args_str = mock_run_cmd.call_args[0][0]220 mock_run_cmd.return_value = 0726 def test_is_reachable(self, mock_setup, mock_run_cmd): argument[all …]