code: def test_docker_project_tracking_uri_propagation(
      ProfileConfigProvider,
      tmp_path,
      tracking_uri,
      expected_command_segment,
      docker_example_base_image,
  ):  # pylint: disable=unused-argument
      mock_provider = mock.MagicMock()
      mock_provider.get_config.return_value = (
          DatabricksConfig.from_password(
              "host", "user", "pass", insecure=True
          )
      )
      ProfileConfigProvider.return_value = mock_provider
      # Create and mock local tracking directory
      local_tracking_dir = os.path.join(tmp_path, "mlruns")
      if tracking_uri is None:
          tracking_uri = local_tracking_dir
      old_uri = mlflow.get_tracking_uri()
      try:
          mlflow.set_tracking_uri(tracking_uri)
          with mock.patch(
              "mlflow.tracking._tracking_service.utils._get_store",
              return_value=file_store.FileStore(local_tracking_dir),
          ):
              mlflow.projects.run(
                  TEST_DOCKER_PROJECT_DIR,
                  experiment_id=file_store.FileStore.DEFAULT_EXPERIMENT_ID,
              )
      finally:
          mlflow.set_tracking_uri(old_uri)
  
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 4 for calling a global function with example usage: test_docker_project_tracking_uri_propagation(ProfileConfigProvider, tmp_path, tracking_uri, expected_command_segment, docker_example_base_image) without return types