code: def test_dbfs_path_exists_error_response_handling(response_mock):
      with mock.patch(
          "mlflow.utils.databricks_utils.get_databricks_host_creds"
      ) as get_databricks_host_creds_mock, mock.patch(
          "mlflow.utils.rest_utils.http_request"
      ) as http_request_mock:
          # given a well formed DatabricksJobRunner
          # note: databricks_profile is None needed because clients using profile are mocked
          job_runner = DatabricksJobRunner(databricks_profile_uri=None)
  
          # when the http request to validate the dbfs path returns a 400 response with an
          # error message that is either well-formed JSON or not
          get_databricks_host_creds_mock.return_value = None
          http_request_mock.return_value = response_mock
  
          # then _dbfs_path_exists should return a MlflowException
          with pytest.raises(
              MlflowException,
              match="API request to check existence of file at DBFS",
          ):
              job_runner._dbfs_path_exists("some/path")
  
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 17 for calling a global function with example usage: test_dbfs_path_exists_error_response_handling(response_mock) without return types