code: def test_shell_nlu_help(run: Callable[..., RunResult]):
      output = run("shell", "nlu", "--help")
  
      help_text = f"""usage: {RASA_EXE} shell nlu [-h] [-v] [-vv] [--quiet]
                        [--logging-config-file LOGGING_CONFIG_FILE] [-m MODEL]
                        [model-as-positional-argument]"""
  
      lines = help_text.split("\n")
      # expected help text lines should appear somewhere in the output
      printed_help = {line.strip() for line in output.outlines}
      for line in lines:
          assert line.strip() in printed_help
  
file_path: rasa/tests/cli/test_rasa_shell.py
imports: import os
  import sys
  from pathlib import Path
  from typing import Callable
  import pytest
  from _pytest.pytester import RunResult
  from rasa.shared.constants import ASSISTANT_ID_KEY
  from tests.cli.conftest import RASA_EXE, create_simple_project_with_missing_assistant_id
label_desc: Use image node_id 2 for calling a global function with example usage: test_shell_nlu_help(run) without return types