code: def test_download_file(
      databricks_model_artifact_repo, remote_file_path, local_path
  ):
      signed_uri_response_mock = mock.MagicMock()
      signed_uri_response_mock.status_code = 200
      signed_uri_mock = {
          "signed_uri": "https://my-amazing-signed-uri-to-rule-them-all.com/1234-numbers-yay-567",
          "headers": [{"name": "header_name", "value": "header_value"}],
      }
      expected_headers = {"header_name": "header_value"}
      signed_uri_response_mock.text = json.dumps(signed_uri_mock)
      with mock.patch(
          DATABRICKS_MODEL_ARTIFACT_REPOSITORY + "._call_endpoint",
          return_value=signed_uri_response_mock,
      ) as call_endpoint_mock, mock.patch(
          DATABRICKS_MODEL_ARTIFACT_REPOSITORY_PACKAGE
          + ".download_file_using_http_uri",
          return_value=None,
      ) as download_mock:
          databricks_model_artifact_repo.download_artifacts(
              remote_file_path, local_path
          )
          call_endpoint_mock.assert_called_with(
              ANY, REGISTRY_ARTIFACT_PRESIGNED_URI_ENDPOINT
          )
          download_mock.assert_called_with(
              signed_uri_mock["signed_uri"],
              ANY,
              ANY,
              expected_headers,
          )
  
imports: import json
  from unittest import mock
  from unittest.mock import ANY
  import pytest
  from mlflow import MlflowClient
  from mlflow.entities import FileInfo
  from mlflow.entities.model_registry import ModelVersion
  from mlflow.environment_variables import MLFLOW_MULTIPART_DOWNLOAD_CHUNK_SIZE
  from mlflow.exceptions import MlflowException
  from mlflow.store.artifact.databricks_models_artifact_repo import DatabricksModelsArtifactRepository
  from mlflow.utils.file_utils import _Chunk
label_desc: Use image node_id 10 for calling a global function with example usage: test_download_file(databricks_model_artifact_repo, remote_file_path, local_path) without return types