def test_deployed_model_check_fails_semantic(
        self, sync_client: Elasticsearch, index: str
    ) -> None:
        """test that exceptions are raised if a specified model is not deployed"""
        with pytest.raises(NotFoundError):
            store = VectorStore(
                index=index,
                retrieval_strategy=DenseVectorStrategy(
                    model_id="non-existing model ID"
                ),
                client=sync_client,
            )
            store.add_texts(["foo", "bar", "baz"])
test that exceptions are raised if a specified model is not deployed
test_elasticsearch/test_server/test_vectorstore/test_vectorstore.py