code: def test_verify_valid_responses_in_rules(nlu_data_path: Text):
      importer = RasaFileImporter(
          domain_path="data/test_domains/default.yml",
          training_data_paths=[
              nlu_data_path,
              "data/test_yaml_stories/rules_without_stories_and_wrong_names.yml",
          ],
      )
      validator = Validator.from_importer(importer)
      # force validator to not ignore warnings (default is True)
      assert not validator.verify_utterances_in_stories(
          ignore_warnings=False
      )
  
imports: import textwrap
  import warnings
  from typing import Text
  import pytest
  from _pytest.logging import LogCaptureFixture
  from rasa.shared.constants import LATEST_TRAINING_DATA_FORMAT_VERSION
  from rasa.validator import Validator
  from rasa.shared.importers.rasa import RasaFileImporter
  from pathlib import Path
label_desc: Use image node_id 6 for calling a global function with example usage: test_verify_valid_responses_in_rules(nlu_data_path) without return types