code: def test_test_with_no_user_utterance(
      run_in_simple_project_with_model: Callable[..., RunResult]
  ):
      write_yaml(
          {
              "pipeline": "KeywordIntentClassifier",
              "policies": [{"name": "TEDPolicy"}],
          },
          "config.yml",
      )
  
      simple_test_story_yaml = """
  stories:
  - story: happy path 1
    steps:
    - intent: greet
    - action: utter_greet
    - intent: mood_great
    - action: utter_happy
  """
      with open("tests/test_story_no_utterance.yaml", "w") as f:
          f.write(simple_test_story_yaml)
  
      run_in_simple_project_with_model(
          "test", "--fail-on-prediction-errors"
      )
      assert os.path.exists("results")
      assert not os.path.exists("results/failed_test_stories.yml")
  
imports: import os
  import shutil
  from pathlib import Path
  from shutil import copyfile
  from pytest import Testdir, Pytester, ExitCode
  from _pytest.pytester import RunResult
  from rasa.core.constants import CONFUSION_MATRIX_STORIES_FILE, STORIES_WITH_WARNINGS_FILE
  from rasa.constants import RESULTS_FILE
  from rasa.shared.constants import DEFAULT_RESULTS_PATH
  from rasa.shared.utils.io import list_files, write_yaml, write_text_file
  from typing import Callable
  from tests.cli.conftest import RASA_EXE
label_desc: Use image node_id 6 for calling a global function with example usage: test_test_with_no_user_utterance(run_in_simple_project_with_model) without return types