code: def test_get_nlu_file(project):
      data_file = os.path.join(project, "data/nlu.yml")
      nlu_directory = rasa.shared.data.get_nlu_directory(data_file)
  
      nlu_files = os.listdir(nlu_directory)
  
      original = load_data(data_file)
      copied = load_data(nlu_directory)
  
      assert nlu_files[0].endswith("nlu.yml")
      assert original.intent_examples == copied.intent_examples
  
file_path: rasa/tests/shared/test_data.py
imports: import os
  import tempfile
  from pathlib import Path
  import pytest
  import rasa.shared
  import rasa.shared.data
  from rasa.shared.nlu.training_data.loading import load_data
  from rasa.shared.utils.io import write_text_file, json_to_string
  from rasa.shared.core.training_data.story_reader.yaml_story_reader import YAMLStoryReader
label_desc: Use image node_id 5 for calling a global function with example usage: test_get_nlu_file(project) without return types