code: def test_abort_multipart_upload(mock_client):
      artifact_root_path = "experiment_id/run_id/"
      bucket_name = "test_bucket"
      file_name = "file.txt"
      gcs_base_url = "gcs_base_url"
      repo = GCSArtifactRepository(
          "gs://test_bucket" + artifact_root_path, mock_client
      )
  
      upload_id = "some_upload_id"
      gcs_mpu_arguments_patch = mock.patch(
          "mlflow.store.artifact.gcs_artifact_repo.GCSArtifactRepository._gcs_mpu_arguments",
          return_value=GCSMPUArguments(
              requests.Session(),
              f"{gcs_base_url}/{bucket_name}/{artifact_root_path}/{file_name}",
              {},
              "application/octet-stream",
          ),
      )
  
      resp = mock.Mock(status_code=204)
      with gcs_mpu_arguments_patch, mock.patch(
          "requests.Session.request", return_value=resp
      ) as request_mock:
          repo.abort_multipart_upload(
              file_name, upload_id, artifact_root_path
          )
          request_mock.assert_called_once()
          args, kwargs = request_mock.call_args
          assert args == (
              "DELETE",
              f"{gcs_base_url}/{bucket_name}/{artifact_root_path}/{file_name}?uploadId={upload_id}",
          )
          assert kwargs["data"] is None
  
imports: import os
  import posixpath
  from unittest import mock
  import pytest
  import requests
  from google.auth.exceptions import DefaultCredentialsError
  from google.cloud.storage import client
  from mlflow.entities.multipart_upload import MultipartUploadPart
  from mlflow.store.artifact.artifact_repository_registry import get_artifact_repository
  from mlflow.store.artifact.gcs_artifact_repo import GCSArtifactRepository, GCSMPUArguments
  from tests.helper_functions import mock_method_chain
label_desc: Use image node_id 16 for calling a global function with example usage: test_abort_multipart_upload(mock_client) without return types