def test_load_OpenCLIPModel_unsupported_image_preprocessor(self):
        """Test loading an OpenCLIP model with an unsupported image preprocessor should raise an error."""
        model_tag = "my_test_model"
        model_properties = {
            "name": "ViT-B-32",
            "type": "open_clip",
            "image_preprocessor": "UnsupportedPreprocessor",
            "dimensions": 512
        }

        with self.assertRaises(InvalidModelPropertiesError) as context:
            model = OpenCLIPModel(model_properties=model_properties, device="cpu")
            model.load()

        self.assertIn("permitted: 'SigLIP', 'OpenAI', 'OpenCLIP', 'CLIPA'", str(context.exception))
Test loading an OpenCLIP model with an unsupported image preprocessor should raise an error.
tests/integ_tests/core/inference/test_open_clip_model_load.py