Home
last modified time | relevance | path

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

/external/toolchain-utils/crosperf/
Ddownload_images_unittest.py33 def test_download_image(self, mock_path_exists, mock_mkdirs): argument
46 mock_path_exists.return_value = False
52 self.assertEqual(mock_path_exists.call_count, 2)
53 mock_path_exists.assert_called_with(
56 mock_path_exists.assert_any_call(
75 mock_path_exists.reset_mock()
77 mock_path_exists.return_value = True
83 self.assertEqual(mock_path_exists.call_count, 2)
84 mock_path_exists.assert_called_with(
87 mock_path_exists.assert_any_call(
[all …]