code: def test_docker_mount_local_artifact_uri(
      artifact_uri,
      host_artifact_uri,
      container_artifact_uri,
      should_mount,
  ):
      active_run = mock.MagicMock()
      run_info = mock.MagicMock()
      run_info.run_id = "fake_run_id"
      run_info.experiment_id = "fake_experiment_id"
      run_info.artifact_uri = artifact_uri
      active_run.info = run_info
      image = mock.MagicMock()
      image.tags = ["image:tag"]
  
      docker_command = _get_docker_command(image, active_run)
  
      docker_volume_expected = (
          f"-v {host_artifact_uri}:{container_artifact_uri}"
      )
      assert (
          docker_volume_expected in " ".join(docker_command)
      ) == should_mount
  
imports: import os
  from unittest import mock
  import pytest
  from databricks_cli.configure.provider import DatabricksConfig
  import docker
  import mlflow
  from mlflow import MlflowClient
  from mlflow.entities import ViewType
  from mlflow.environment_variables import MLFLOW_TRACKING_URI
  from mlflow.exceptions import MlflowException
  from mlflow.projects import ExecutionException, _project_spec
  from mlflow.projects.backend.local import _get_docker_command
  from mlflow.projects.docker import _get_docker_image_uri
  from mlflow.store.tracking import file_store
  from mlflow.utils.mlflow_tags import MLFLOW_DOCKER_IMAGE_ID, MLFLOW_DOCKER_IMAGE_URI, MLFLOW_PROJECT_BACKEND, MLFLOW_PROJECT_ENV
  from tests.projects.utils import TEST_DOCKER_PROJECT_DIR, docker_example_base_image
label_desc: Use image node_id 10 for calling a global function with example usage: test_docker_mount_local_artifact_uri(artifact_uri, host_artifact_uri, container_artifact_uri, should_mount) without return types