code: def test_find_nlu_files_with_different_formats(test_input, expected):
      examples_dir = "data/examples"
      data_dir = os.path.join(examples_dir, test_input)
      nlu_files = rasa.shared.data.get_data_files(
          [data_dir], rasa.shared.data.is_nlu_file
      )
      assert [Path(f) for f in nlu_files] == [Path(f) for f in expected]
  
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 7 for calling a global function with example usage: test_find_nlu_files_with_different_formats(test_input, expected) without return types