Home
last modified time | relevance | path

Searched refs:mock_copyfiles (Results 1 – 1 of 1) sorted by relevance

/external/toolchain-utils/crosperf/
Dresults_cache_unittest.py508 def test_copy_files_to(self, mock_copyfiles, mock_runcmd, mock_isdir): argument
513 self.mock_cmd_exec.CopyFiles = mock_copyfiles
515 mock_copyfiles.return_value = 0
521 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