code: def test_verify_utterances_does_not_error_when_no_utterance_template_provided(
      tmp_path: Path, nlu_data_path: Path
  ):
      story_file_name = tmp_path / "stories.yml"
      with open(story_file_name, "w") as file:
          file.write(
              f"""
              version: "{LATEST_TRAINING_DATA_FORMAT_VERSION}"
              stories:
              - story: path 1
                steps:
                - intent: greet
                - action: utter_greet
              """
          )
      domain_file_name = tmp_path / "domain.yml"
      with open(domain_file_name, "w") as file:
          file.write(
              f"""
              version: "{LATEST_TRAINING_DATA_FORMAT_VERSION}"
              intents:
                - greet
              actions:
                - utter_greet
              """
          )
      importer = RasaFileImporter(
          config_file="data/test_moodbot/config.yml",
          domain_path=domain_file_name,
          training_data_paths=[story_file_name, nlu_data_path],
      )
  
      validator = Validator.from_importer(importer)
      # force validator to not ignore warnings (default is True)
      assert not validator.verify_utterances_in_stories(
          ignore_warnings=False
      )
      # test whether ignoring warnings actually works
      assert validator.verify_utterances_in_stories(
          ignore_warnings=True
      )
  
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 34 for calling a global function with example usage: test_verify_utterances_does_not_error_when_no_utterance_template_provided(tmp_path, nlu_data_path) without return types