code: def test_models_not_retrained_if_no_new_data(
      trained_e2e_model: Text,
      moodbot_domain_path: Path,
      e2e_bot_config_file: Path,
      e2e_stories_path: Text,
      nlu_data_path: Text,
      trained_e2e_model_cache: Path,
  ):
      result = rasa.train(
          str(moodbot_domain_path),
          str(e2e_bot_config_file),
          [e2e_stories_path, nlu_data_path],
          output=_new_model_path_in_same_dir(trained_e2e_model),
          dry_run=True,
      )
  
      assert result.code == 0
  
file_path: rasa/tests/acceptance_tests/test_training.py
imports: from pathlib import Path
  import secrets
  from typing import Text
  import rasa
  from rasa.shared.core.domain import Domain
  from rasa.shared.utils.io import write_yaml
label_desc: Use image node_id 2 for calling a global function with example usage: test_models_not_retrained_if_no_new_data(trained_e2e_model, moodbot_domain_path, e2e_bot_config_file, e2e_stories_path, nlu_data_path, trained_e2e_model_cache) without return types