def testdownload_and_preprocess_image_all_failures(self, mock_preprocess, mock_download_image):
        """All images fail, returns list of MediaDownloadErrors."""
        content = [
            "http://invalid-url.com/does-not-exist1.jpg",
            "http://invalid-url.com/does-not-exist2.jpg"
        ]
        preprocessor = CLIPPreprocessor()

        results = download_and_preprocess_media(content=content, preprocessor=preprocessor,
                                                preprocessing_config=self.preprocessing_config,
                                                return_individual_error=True)

        self.assertEqual(len(results), 2)

        for i, result in enumerate(results):
            self.assertIsInstance(result, InferenceErrorModel)
            self.assertIn("This image does not exist in the test data", result.error_message)

        mock_download_image.assert_called()
        self.assertEqual(2, mock_download_image.call_count)
        mock_preprocess.assert_not_called()
All images fail, returns list of MediaDownloadErrors.
tests/unit_tests/marqo/inference/media_download_and_preprocess/test_chunk_download_preprocess_image_content.py