code: def test_raise_wrong_model_directory(
      create_or_load_convert_featurizer: Callable[
          [Dict[Text, Any]], ConveRTFeaturizer
      ],
      tmp_path: Path,
  ):
      component_config = {
          FEATURIZER_CLASS_ALIAS: "alias",
          "model_url": str(tmp_path),
      }
  
      with pytest.raises(RasaException) as excinfo:
          _ = create_or_load_convert_featurizer(component_config)
  
      assert "Re-check the files inside the directory" in str(
          excinfo.value
      )
  
imports: import numpy
  import pytest
  from typing import Text, Optional, List, Tuple, Dict, Any, Callable
  from pathlib import Path
  import os
  from _pytest.monkeypatch import MonkeyPatch
  from rasa.nlu.tokenizers.whitespace_tokenizer import WhitespaceTokenizer
  from rasa.shared.nlu.training_data.training_data import TrainingData
  from rasa.shared.nlu.training_data.message import Message
  from rasa.nlu.constants import FEATURIZER_CLASS_ALIAS, TOKENS_NAMES, NUMBER_OF_SUB_TOKENS
  from rasa.shared.nlu.constants import TEXT, INTENT, RESPONSE
  from rasa.nlu.featurizers.dense_featurizer.convert_featurizer import ConveRTFeaturizer, RESTRICTED_ACCESS_URL, ORIGINAL_TF_HUB_MODULE_URL
  from rasa.exceptions import RasaException
  from rasa.engine.graph import ExecutionContext
  from rasa.engine.storage.storage import ModelStorage
  from rasa.engine.storage.resource import Resource
label_desc: Use image node_id 8 for calling a global function with example usage: test_raise_wrong_model_directory(create_or_load_convert_featurizer, tmp_path) without return types