def test_inference_image_with_one_image_error(self):
        """Test that the pipeline returns an error for the image that failed to download but
        still returns the embeddings for the image that was successfully downloaded."""
        image_inference_request = InferenceRequest(
            modality="image",
            contents = [
                TestImageUrls.IMAGE1.value,
                TestImageUrls.IMAGE2.value + "invalid"
            ],
            device="cpu",
            model_config=ModelConfig(
                model_name="multilingual-clip/XLM-Roberta-Large-Vit-L-14",
                model_properties={
                    "name": "multilingual-clip/XLM-Roberta-Large-Vit-L-14",
                    "visual_model": "open_clip/ViT-L-14/openai",
                    "textual_model": 'M-CLIP/XLM-Roberta-Large-Vit-L-14',
                    "dimensions": 768,
                    "type": "multilingual_clip",
                },
                normalize_embeddings=True
            ),
            preprocessing_config=ImagePreprocessingConfig(
                should_chunk=False,
                download_timeout_ms=1000,
                download_thread_count=1
            )
        )

        results = self.inference.vectorise(image_inference_request)

        self.assertTrue(isinstance(results, InferenceResult))
        self.assertTrue(isinstance(results.result, list))
        self.assertTrue(len(results.result) == 2)

        results_1: list[tuple[str, ndarray]] = results.result[0]
        self.assertTrue(isinstance(results_1, list))
        self.assertTrue(len(results_1) == 1)
        self.assertTrue(isinstance(results_1[0], tuple))
        self.assertTrue(isinstance(results_1[0][0], str))
        self.assertTrue(isinstance(results_1[0][1], np.ndarray))
        self.assertEqual((768, ), results_1[0][1].shape)
        self.assertEqual(TestImageUrls.IMAGE1.value, results_1[0][0])

        results_2 = results.result[1]
        self.assertTrue(isinstance(results_2, InferenceErrorModel))
Test that the pipeline returns an error for the image that failed to download but
        still returns the embeddings for the image that was successfully downloaded.
tests/integ_tests/inference/native_inference/test_multilingual_clip_model_inference_pipeline.py