def test_no_extension_image_url_infer_modality(self):
        """this test ensures that the image url with no extension is correctly inferred as an image"""
        image_url_no_extension = "https://il.redbubble.net/catalogue/image/by-rb-work/157037551/simple-preview"
        modality = infer_modality(image_url_no_extension)
        self.assertEqual(modality, streaming_media_processor.Modality.IMAGE)
this test ensures that the image url with no extension is correctly inferred as an image
tests/integ_tests/tensor_search/integ_tests/test_add_documents_combined.py