code: def test_list_artifacts_for_single_file(
      databricks_model_artifact_repo,
  ):
      list_artifact_file_response_mock = mock.MagicMock()
      list_artifact_file_response_mock.status_code = 200
      list_artifact_file_json_mock = {
          "files": [
              {"path": "MLmodel", "is_dir": False, "file_size": 294}
          ]
      }
      list_artifact_file_response_mock.text = json.dumps(
          list_artifact_file_json_mock
      )
      with mock.patch(
          DATABRICKS_MODEL_ARTIFACT_REPOSITORY + "._call_endpoint",
          return_value=list_artifact_file_response_mock,
      ):
          artifacts = databricks_model_artifact_repo.list_artifacts(
              "MLmodel"
          )
          assert len(artifacts) == 0
  
imports: import json
  from unittest import mock
  from unittest.mock import ANY
  import pytest
  from mlflow import MlflowClient
  from mlflow.entities import FileInfo
  from mlflow.entities.model_registry import ModelVersion
  from mlflow.environment_variables import MLFLOW_MULTIPART_DOWNLOAD_CHUNK_SIZE
  from mlflow.exceptions import MlflowException
  from mlflow.store.artifact.databricks_models_artifact_repo import DatabricksModelsArtifactRepository
  from mlflow.utils.file_utils import _Chunk
label_desc: Use image node_id 9 for calling a global function with example usage: test_list_artifacts_for_single_file(databricks_model_artifact_repo) without return types