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.py37 def test_download_image(self, mock_path_exists, mock_mkdirs): argument
50 mock_path_exists.return_value = False
56 self.assertEqual(mock_path_exists.call_count, 2)
57 mock_path_exists.assert_called_with(
60 mock_path_exists.assert_any_call(
79 mock_path_exists.reset_mock()
81 mock_path_exists.return_value = True
87 self.assertEqual(mock_path_exists.call_count, 2)
88 mock_path_exists.assert_called_with(
91 mock_path_exists.assert_any_call(
[all …]