def test_invalid_model_properties_type(self):
        """Test that providing a non-dict model_properties raises a ValidationError."""
        with self.assertRaises(ValidationError) as context:
            ModelConfig(
                model_name="test_model",
                model_properties="not_a_dict",  # Invalid type
                normalize_embeddings=True
            )
        self.assertIn("modelProperties", str(context.exception))
Test that providing a non-dict model_properties raises a ValidationError.
tests/unit_tests/marqo/core/inference/api/test_inference_model_classes.py