code: def test_run_databricks_extended_cluster_spec_json_without_libraries(
      runs_submit_mock, runs_get_mock, monkeypatch
  ):
      monkeypatch.setenv("DATABRICKS_HOST", "test-host")
      monkeypatch.setenv("DATABRICKS_TOKEN", "foo")
      runs_get_mock.return_value = mock_runs_get_result(succeeded=True)
      new_cluster_spec = {
          "spark_version": "6.5.x-scala2.11",
          "num_workers": 2,
          "node_type_id": "i3.xlarge",
      }
  
      cluster_spec = {
          "new_cluster": new_cluster_spec,
      }
  
      # Run project synchronously, verify that it succeeds (doesn't throw)
      run_databricks_project(
          cluster_spec=cluster_spec, synchronous=True
      )
      assert runs_submit_mock.call_count == 1
      runs_submit_args, _ = runs_submit_mock.call_args_list[0]
      req_body = runs_submit_args[0]
      assert req_body["new_cluster"] == new_cluster_spec
  
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 22 for calling a global function with example usage: test_run_databricks_extended_cluster_spec_json_without_libraries(runs_submit_mock, runs_get_mock, monkeypatch) without return types