code: def test_gensim_word2vec_with_redis_no_model():
      with pytest.raises(TextpipeMissingModelException) as e:
          Doc(TEXT_2).generate_gensim_document_embedding(
              model_uri="redis://host:1234/0"
          )
      assert (
          str(e.value)
          == "Redis does not contain a model for language nl. The model"
          " needs to be loaded before use (see load_keyed_vectors_into_redis)."
      )
  
imports: import re
  from unittest import mock
  import pytest
  import spacy
  import numpy
  from fakeredis import FakeRedis
  from textpipe.doc import Doc, TextpipeMissingModelException, RedisIDFWeightingMismatchException
  from textpipe.wrappers import RedisKeyedVectors
label_desc: Use image node_id 14 for calling a global function with example usage: test_gensim_word2vec_with_redis_no_model() without return types