code: def test_list_artifacts(dbfs_fuse_artifact_repo, test_dir):
      assert len(dbfs_fuse_artifact_repo.list_artifacts()) == 0
      dbfs_fuse_artifact_repo.log_artifacts(test_dir)
      artifacts = dbfs_fuse_artifact_repo.list_artifacts()
      assert len(artifacts) == 3
      assert artifacts[0].path == "empty-file"
      assert artifacts[0].is_dir is False
      assert artifacts[0].file_size == 0
      assert artifacts[1].path == "subdir"
      assert artifacts[1].is_dir is True
      assert artifacts[1].file_size is None
      assert artifacts[2].path == "test.txt"
      assert artifacts[2].is_dir is False
      assert artifacts[2].file_size == 23
  
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 10 for calling a global function with example usage: test_list_artifacts(dbfs_fuse_artifact_repo, test_dir) without return types