code: def test_parallelized_download_file_using_http_uri_with_failed_downloads(
      databricks_model_artifact_repo, remote_file_path
  ):
      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"}],
      }
      failed_downloads = {
          _Chunk(1, 2, 3, "test"): Exception("Internal Server Error")
      }
  
      with mock.patch(
          DATABRICKS_MODEL_ARTIFACT_REPOSITORY + ".list_artifacts",
          return_value=[
              FileInfo(
                  remote_file_path,
                  True,
                  MLFLOW_MULTIPART_DOWNLOAD_CHUNK_SIZE.get() + 1,
              )
          ],
      ), mock.patch(
          DATABRICKS_MODEL_ARTIFACT_REPOSITORY
          + "._get_signed_download_uri",
          return_value=(
              signed_uri_mock["signed_uri"],
              signed_uri_mock["headers"],
          ),
      ), mock.patch(
          "mlflow.utils.databricks_utils.get_databricks_env_vars",
          return_value={},
      ), mock.patch(
          DATABRICKS_MODEL_ARTIFACT_REPOSITORY_PACKAGE
          + ".parallelized_download_file_using_http_uri",
          return_value=failed_downloads,
      ), mock.patch(
          "mlflow.utils.file_utils.download_chunk",
          return_value=None,
      ) as download_chunk_mock:
          databricks_model_artifact_repo._download_file(
              remote_file_path, ""
          )
          download_chunk_mock.assert_called()
  
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 13 for calling a global function with example usage: test_parallelized_download_file_using_http_uri_with_failed_downloads(databricks_model_artifact_repo, remote_file_path) without return types