Searched refs:mock_run_cmd (Results 1 – 1 of 1) sorted by relevance
142 def test_image_machine(self, mock_checksummer, mock_run_croscmd, mock_run_cmd, argument158 mock_run_cmd.reset_mock()167 self.mock_cmd_exec.RunCommand = mock_run_cmd180 self.assertEqual(mock_run_cmd.call_count, 0)186 mock_run_cmd.return_value = 0195 mock_run_cmd.return_value = 1200 self.assertEqual(mock_run_cmd.call_count, 2)203 image_call_args_str = mock_run_cmd.call_args[0][0]218 mock_run_cmd.return_value = 0724 def test_is_reachable(self, mock_setup, mock_run_cmd): argument[all …]