code: def test_user_asked_to_train_model(
      run_with_stdin: Callable[..., RunResult]
  ):
      run_with_stdin("init", stdin=b"\nYN")
      assert not os.path.exists("models")
  
file_path: rasa/tests/cli/test_rasa_init.py
imports: import argparse
  import os
  from pathlib import Path
  from typing import Callable
  from _pytest.pytester import RunResult
  from _pytest.monkeypatch import MonkeyPatch
  from rasa.cli import scaffold
  from tests.conftest import enable_cache
  from tests.core.channels.test_cmdline import mock_stdin
  from tests.cli.conftest import RASA_EXE
label_desc: Use image node_id 4 for calling a global function with example usage: test_user_asked_to_train_model(run_with_stdin) without return types