def test_metadata_fetching_invalid_url(self):
        """Invalid URL should raise MediaDownloadError when fetching metadata."""
        invalid_url = "https://invalid-url.com/video.mp4"

        with self.assertRaises(MediaDownloadError):
            streaming_media_processor_object = StreamingMediaProcessor(
                url=invalid_url, preprocessors=self.test_preprocessor,
                preprocessing_config=self.test_video_preprocessing_config
            )
Invalid URL should raise MediaDownloadError when fetching metadata.
tests/integ_tests/inference/native_inference/media_download_and_preprocess/test_streaming_media_preprcessor.py