code: def test_list_file_names_in_directory(tmpdir):
      my_dir = os.path.join(tmpdir, "my_dir")
  
      os.mkdir(my_dir)
  
      with open(os.path.join(my_dir, "my_file.txt"), "w") as f:
          f.write("test_0")
  
      with open(os.path.join(my_dir, "my_other_file.txt"), "w") as f:
          f.write("test_1")
  
      assert set(
          list_file_names_in_directory(directory_name=my_dir)
      ) == {"my_file.txt", "my_other_file.txt"}
  
file_path: ludwig/tests/ludwig/utils/test_fs_utils.py
imports: import logging
  import os
  import platform
  import tempfile
  from urllib.parse import quote
  import pytest
  from ludwig.utils.fs_utils import get_fs_and_path, list_file_names_in_directory, safe_move_directory
label_desc: Use image node_id 9 for calling a global function with example usage: test_list_file_names_in_directory(tmpdir) without return types