Searched refs:mock_copyfiles (Results 1 – 1 of 1) sorted by relevance
508 def test_copy_files_to(self, mock_copyfiles, mock_runcmd, mock_isdir): argument513 self.mock_cmd_exec.CopyFiles = mock_copyfiles515 mock_copyfiles.return_value = 0521 self.assertEqual(mock_copyfiles.call_count, 3)522 first_args = mock_copyfiles.call_args_list[0][0]523 second_args = mock_copyfiles.call_args_list[1][0]524 third_args = mock_copyfiles.call_args_list[2][0]530 mock_copyfiles.reset_mock()535 self.assertEqual(mock_copyfiles.call_count, 3)543 mock_copyfiles.return_value = 1