def test_create_index_with_model_properties_without_model_name(self):
        """
            create_vector_index should throw an error
            if model_properties are given without model_name
        """
        model_properties = {"name": "ViT-B-32",
                            "dimensions": 512,
                            "url": "https://openaipublic.azureedge.net/clip/models/40d365715913c9da98579312b702a82c18be219cc2a73407c4526f58eba950af/ViT-B-32.pt",
                            "type": "clip",
                            }

        index_settings = {
            "index_defaults": {
                # 'model': model_name,
                'model_properties': model_properties
            }
        }

        self.assertRaises(UnknownModelError, tensor_search.create_vector_index, config=self.config,
                         index_name=self.index_name_1, index_settings=index_settings)

            create_vector_index should throw an error
            if model_properties are given without model_name
        
tests/integ_tests/s2_inference/test_generic_clip_model.py