code: def test_interactive_help(run: Callable[..., RunResult]):
      output = run("interactive", "--help")
  
      help_text = f"""usage: {RASA_EXE} interactive [-h] [-v] [-vv] [--quiet]
                          [--logging-config-file LOGGING_CONFIG_FILE] [--e2e]
                          [-p PORT] [-m MODEL] [--data DATA [DATA ...]]
                          [--skip-visualization]
                          [--conversation-id CONVERSATION_ID]
                          [--endpoints ENDPOINTS] [-c CONFIG] [-d DOMAIN]
                          [--out OUT] [--augmentation AUGMENTATION]
                          [--debug-plots] [--finetune [FINETUNE]]
                          [--epoch-fraction EPOCH_FRACTION] [--force]
                          [--persist-nlu-data]
                          {{core}} ... [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
  
imports: import argparse
  from typing import Callable, Text
  from unittest.mock import Mock, ANY
  import pytest
  from _pytest.monkeypatch import MonkeyPatch
  from _pytest.pytester import RunResult
  import rasa
  from rasa.core.train import do_interactive_learning
  from rasa.core.training import interactive
  from rasa.cli import interactive, train
  from rasa.model_training import TrainingResult
  from tests.cli.conftest import RASA_EXE
label_desc: Use image node_id 1 for calling a global function with example usage: test_interactive_help(run) without return types