code: def test_dir(files_dir):
      subdir = files_dir.joinpath("subdir")
      subdir.mkdir()
      with open(subdir.joinpath("test.txt"), "wb") as f:
          f.write(TEST_FILE_2_CONTENT)
      with open(files_dir.joinpath("test.txt"), "wb") as f:
          f.write(TEST_FILE_3_CONTENT)
      with open(files_dir.joinpath("empty-file"), "wb"):
          pass
      return files_dir
  
file_path: mlflow/tests/store/artifact/test_dbfs_fuse_artifact_repo.py
imports: import os
  from unittest import mock
  from unittest.mock import PropertyMock
  import pytest
  from mlflow.store.artifact.artifact_repository_registry import get_artifact_repository
label_desc: Use image node_id 6 for calling a global function with example usage: test_dir(files_dir) and returns: files_dir