code: def test_no_interactive_without_core_data(
      stack_config_path: Text,
      monkeypatch: MonkeyPatch,
      nlu_data_path: Text,
  ) -> None:
      parser = argparse.ArgumentParser()
      sub_parser = parser.add_subparsers()
      interactive.add_subparser(sub_parser, [])
  
      args = parser.parse_args(
          [
              "interactive",
              "--config",
              stack_config_path,
              "--data",
              nlu_data_path,
          ]
      )
      interactive._set_not_required_args(args)
  
      mock = Mock()
      monkeypatch.setattr(train, "run_training", mock.train_model)
      monkeypatch.setattr(
          interactive,
          "perform_interactive_learning",
          mock.perform_interactive_learning,
      )
  
      with pytest.raises(SystemExit):
          interactive.interactive(args)
  
      mock.train_model.assert_not_called()
      mock.perform_interactive_learning.assert_not_called()
  
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 6 for calling a global function with example usage: test_no_interactive_without_core_data(stack_config_path, monkeypatch, nlu_data_path) without return types