def test_update_available_models_model_load_error(self):
        """_update_available_models should throw an error if model_name given in
            model_properties does not exist
        """
        model_cache_key = "sample-cache-key"
        model_name = "test-model"
        model_properties = {"name": "incorect-model-name",
                            "dimensions": 768,
                            "tokens": 128,
                            "type": "sbert"}
        device = "cpu"
        normalize_embeddings = True

        self.assertRaises(ModelLoadError, _update_available_models, model_cache_key,
            model_name, model_properties, device, normalize_embeddings)
_update_available_models should throw an error if model_name given in
            model_properties does not exist
        
tests/integ_tests/s2_inference/test_generic_model.py