code: def test_dump_config(
      tmp_path: Path,
      input_file: Text,
      expected_file: Text,
      capsys: CaptureFixture,
      autoconfig_keys: Set[Text],
  ):
      config_file = str(tmp_path / "config.yml")
      shutil.copyfile(str(CONFIG_FOLDER / input_file), config_file)
      old_config = rasa.shared.utils.io.read_model_configuration(
          config_file
      )
      DefaultV1Recipe.auto_configure(config_file, old_config)
      new_config = rasa.shared.utils.io.read_model_configuration(
          config_file
      )
  
      expected = rasa.shared.utils.io.read_model_configuration(
          CONFIG_FOLDER / expected_file
      )
  
      assert new_config == expected
  
      captured = capsys.readouterr()
      assert "does not exist or is empty" not in captured.out
  
      for k in CONFIG_AUTOCONFIGURABLE_KEYS:
          if k in autoconfig_keys:
              assert k in captured.out
          else:
              assert k not in captured.out
  
imports: from typing import Text, Dict, Any, Set, List
  import shutil
  import pytest
  from _pytest.capture import CaptureFixture
  from pathlib import Path
  from rasa.engine.constants import PLACEHOLDER_TRACKER
  from rasa.shared.core.trackers import DialogueStateTracker
  from rasa.shared.nlu.training_data.message import Message
  import rasa.shared.utils.io
  from rasa.shared.constants import ASSISTANT_ID_KEY, CONFIG_AUTOCONFIGURABLE_KEYS
  from rasa.core.policies.ted_policy import TEDPolicy
  from rasa.engine.graph import GraphSchema, GraphComponent, ExecutionContext
  from rasa.engine.recipes.default_recipe import DefaultV1Recipe, DefaultV1RecipeRegisterException
  from rasa.engine.recipes.recipe import Recipe
  from rasa.engine.storage.resource import Resource
  from rasa.engine.storage.storage import ModelStorage
  from rasa.graph_components.validators.default_recipe_validator import DefaultV1RecipeValidator
  from rasa.nlu.classifiers.mitie_intent_classifier import MitieIntentClassifier
  from rasa.nlu.classifiers.sklearn_intent_classifier import SklearnIntentClassifier
  from rasa.nlu.extractors.mitie_entity_extractor import MitieEntityExtractor
  from rasa.shared.exceptions import InvalidConfigException
  from rasa.shared.data import TrainingType
  import rasa.engine.validation
  from rasa.shared.importers.rasa import RasaFileImporter
label_desc: Use image node_id 23 for calling a global function with example usage: test_dump_config(tmp_path, input_file, expected_file, capsys, autoconfig_keys) without return types