Searched refs:mock_path_exists (Results 1 – 1 of 1) sorted by relevance
33 def test_download_image(self, mock_path_exists, mock_mkdirs): argument46 mock_path_exists.return_value = False52 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 = True83 self.assertEqual(mock_path_exists.call_count, 2)84 mock_path_exists.assert_called_with(87 mock_path_exists.assert_any_call([all …]