Searched refs:mock_path_exists (Results 1 – 1 of 1) sorted by relevance
37 def test_download_image(self, mock_path_exists, mock_mkdirs): argument50 mock_path_exists.return_value = False56 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 = True87 self.assertEqual(mock_path_exists.call_count, 2)88 mock_path_exists.assert_called_with(91 mock_path_exists.assert_any_call([all …]