code: def test_response_missing(project: Text):
      """Tests warning when response is missing."""
      config_path = os.path.join(project, DEFAULT_CONFIG_PATH)
      domain_path = "data/test_domains/missing_chitchat_response.yml"
      data_path = "data/test/simple_retrieval_intent_nlu.yml"
      importer = TrainingDataImporter.load_from_dict(
          {}, config_path, domain_path, data_path
      )
  
      domain = importer.get_domain()
      with pytest.warns(UserWarning) as record:
          domain.check_missing_responses()
  
      assert (
          "Action 'utter_chitchat' is listed as a response action in the domain "
          "file, but there is no matching response defined. Please check your "
          "domain."
      ) in record[0].message.args[0]
  
imports: import os
  from pathlib import Path
  from typing import Text, Dict, Type, List, Any
  import pytest
  from rasa.shared.constants import DEFAULT_CONFIG_PATH, DEFAULT_DOMAIN_PATH, DEFAULT_DATA_PATH, DEFAULT_CONVERSATION_TEST_PATH
  import rasa.shared.utils.io
  import rasa.shared.core.constants
  from rasa.shared.core.events import SlotSet, UserUttered, ActionExecuted
  from rasa.shared.core.training_data.structures import StoryStep, StoryGraph
  from rasa.shared.importers.importer import TrainingDataImporter, NluDataImporter, E2EImporter, ResponsesSyncImporter
  from rasa.shared.importers.multi_project import MultiProjectImporter
  from rasa.shared.importers.rasa import RasaFileImporter
  from rasa.shared.nlu.constants import ACTION_TEXT, ACTION_NAME, INTENT, TEXT
  from rasa.shared.nlu.training_data.message import Message
label_desc: Use image node_id 11 for calling a global function with example usage: test_response_missing(project) without return types