code: def test_data_migrate_help(run: Callable[..., RunResult]):
      output = run("data", "migrate", "--help")
      printed_help = set(output.outlines)
  
      help_text = f"""usage: {RASA_EXE} data migrate [-h] [-v] [-vv] [--quiet]
                            [--logging-config-file LOGGING_CONFIG_FILE]
                            [-d DOMAIN] [--out OUT]"""
      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_data.py
imports: import os
  from pathlib import Path
  from typing import Callable
  from _pytest.fixtures import FixtureRequest
  from _pytest.pytester import RunResult
  from rasa.shared.nlu.training_data.formats import RasaYAMLReader
  import rasa.shared.utils.io
  from tests.cli.conftest import RASA_EXE
label_desc: Use image node_id 7 for calling a global function with example usage: test_data_migrate_help(run) without return types