code: def set_test_core_arguments(parser: argparse.ArgumentParser) -> None:
      add_test_core_model_param(parser)
      add_test_core_argument_group(parser, include_e2e_argument=True)
  
file_path: rasa/rasa/cli/arguments/test.py
imports: import argparse
  from typing import Union
  from rasa.shared.constants import DEFAULT_MODELS_PATH, DEFAULT_RESULTS_PATH
  from rasa.cli.arguments.default_arguments import add_stories_param, add_model_param, add_nlu_data_param, add_endpoint_param, add_out_param
  from rasa.model import get_latest_model
  from rasa.shared.constants import DEFAULT_DOMAIN_PATH
label_desc: Use image node_id 2 for calling a global function with example usage: set_test_core_arguments(parser) without return types