code: def test_upload_project_to_dbfs(
      dbfs_root_mock,
      tmp_path,
      dbfs_path_exists_mock,
      upload_to_dbfs_mock,
  ):  # pylint: disable=unused-argument
      # Upload project to a mock directory
      dbfs_path_exists_mock.return_value = False
      runner = DatabricksJobRunner(
          databricks_profile_uri=construct_db_uri_from_profile(
              "DEFAULT"
          )
      )
      dbfs_uri = runner._upload_project_to_dbfs(
          project_dir=TEST_PROJECT_DIR,
          experiment_id=FileStore.DEFAULT_EXPERIMENT_ID,
      )
      # Get expected tar
      local_tar_path = os.path.join(
          dbfs_root_mock, dbfs_uri.split("/dbfs/")[1]
      )
      expected_tar_path = str(tmp_path.joinpath("expected.tar.gz"))
      file_utils.make_tarfile(
          output_filename=expected_tar_path,
          source_dir=TEST_PROJECT_DIR,
          archive_name=databricks.DB_TARFILE_ARCHIVE_NAME,
      )
      # Extract the tarred project, verify its contents
      assert filecmp.cmp(
          local_tar_path, expected_tar_path, shallow=False
      )
  
imports: import filecmp
  import json
  import os
  import shutil
  from unittest import mock
  import databricks_cli
  import pytest
  from databricks_cli.configure.provider import DatabricksConfig
  import mlflow
  from mlflow import MlflowClient, cli
  from mlflow.entities import RunStatus
  from mlflow.environment_variables import MLFLOW_TRACKING_URI
  from mlflow.exceptions import MlflowException
  from mlflow.projects import ExecutionException, databricks
  from mlflow.projects.databricks import DatabricksJobRunner, _get_cluster_mlflow_run_cmd
  from mlflow.protos.databricks_pb2 import INVALID_PARAMETER_VALUE, ErrorCode
  from mlflow.store.tracking.file_store import FileStore
  from mlflow.tracking.request_header.default_request_header_provider import DefaultRequestHeaderProvider
  from mlflow.utils import file_utils
  from mlflow.utils.mlflow_tags import MLFLOW_DATABRICKS_RUN_URL, MLFLOW_DATABRICKS_SHELL_JOB_RUN_ID, MLFLOW_DATABRICKS_WEBAPP_URL
  from mlflow.utils.uri import construct_db_uri_from_profile
  from tests import helper_functions
  from tests.integration.utils import invoke_cli_runner
  from tests.projects.utils import TEST_PROJECT_DIR, validate_exit_status
label_desc: Use image node_id 15 for calling a global function with example usage: test_upload_project_to_dbfs(dbfs_root_mock, tmp_path, dbfs_path_exists_mock, upload_to_dbfs_mock) without return types