code: def test_rasa_file_importer(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)
  
      importer = RasaFileImporter(
          config_path, domain_path, [default_data_path]
      )
  
      domain = importer.get_domain()
      assert len(domain.intents) == 7 + len(DEFAULT_INTENTS)
      assert domain.slots == [
          AnySlot(SESSION_START_METADATA_SLOT, mappings=[{}])
      ]
      assert domain.entities == []
      assert len(domain.action_names_or_texts) == 6 + len(
          DEFAULT_ACTION_NAMES
      )
      assert len(domain.responses) == 6
  
      stories = importer.get_stories()
      assert len(stories.story_steps) == 5
  
      test_stories = importer.get_conversation_tests()
      assert len(test_stories.story_steps) == 0
  
      nlu_data = importer.get_nlu_data("en")
      assert len(nlu_data.intents) == 7
      assert len(nlu_data.intent_examples) == 68
  
file_path: rasa/tests/shared/importers/test_rasa.py
imports: from pathlib import Path
  from typing import Text
  import os
  from rasa.shared.constants import DEFAULT_CONFIG_PATH, DEFAULT_DOMAIN_PATH, DEFAULT_DATA_PATH, DEFAULT_CONVERSATION_TEST_PATH
  from rasa.shared.core.constants import DEFAULT_ACTION_NAMES, DEFAULT_INTENTS, SESSION_START_METADATA_SLOT
  from rasa.shared.core.domain import Domain
  from rasa.shared.core.slots import AnySlot
  from rasa.shared.importers.importer import TrainingDataImporter
  from rasa.shared.importers.rasa import RasaFileImporter
label_desc: Use image node_id 1 for calling a global function with example usage: test_rasa_file_importer(project) without return types