code: def test_load_from_dict(
      config: Dict,
      expected: List[Type["TrainingDataImporter"]],
      project: Text,
  ):
      config_path = os.path.join(project, DEFAULT_CONFIG_PATH)
      domain_path = os.path.join(project, DEFAULT_DOMAIN_PATH)
      default_data_path = os.path.join(project, DEFAULT_DATA_PATH)
      actual = TrainingDataImporter.load_from_dict(
          config, config_path, domain_path, [default_data_path]
      )
  
      assert isinstance(actual, E2EImporter)
      assert isinstance(actual.importer, ResponsesSyncImporter)
  
      actual_importers = [
          i.__class__ for i in actual.importer._importer._importers
      ]
      assert actual_importers == expected
  
imports: import os
  from pathlib import Path
  from typing import Text, Dict, Type, List, Any
  import pytest
  from rasa.shared.constants import DEFAULT_CONFIG_PATH, DEFAULT_DOMAIN_PATH, DEFAULT_DATA_PATH, DEFAULT_CONVERSATION_TEST_PATH
  import rasa.shared.utils.io
  import rasa.shared.core.constants
  from rasa.shared.core.events import SlotSet, UserUttered, ActionExecuted
  from rasa.shared.core.training_data.structures import StoryStep, StoryGraph
  from rasa.shared.importers.importer import TrainingDataImporter, NluDataImporter, E2EImporter, ResponsesSyncImporter
  from rasa.shared.importers.multi_project import MultiProjectImporter
  from rasa.shared.importers.rasa import RasaFileImporter
  from rasa.shared.nlu.constants import ACTION_TEXT, ACTION_NAME, INTENT, TEXT
  from rasa.shared.nlu.training_data.message import Message
label_desc: Use image node_id 2 for calling a global function with example usage: test_load_from_dict(config, expected, project) without return types