code: def test_extract_run_id():
      with mock.patch(
          f"{DATABRICKS_ARTIFACT_REPOSITORY}._get_run_artifact_root",
          return_value=MOCK_RUN_ROOT_URI,
      ):
          expected_run_id = "RUN_ID"
          repo = get_artifact_repository(
              "dbfs:/databricks/mlflow-tracking/EXP/RUN_ID/artifact"
          )
          assert repo.run_id == expected_run_id
          repo = get_artifact_repository(
              "dbfs:/databricks/mlflow-tracking/EXP_ID/RUN_ID/artifacts"
          )
          assert repo.run_id == expected_run_id
          repo = get_artifact_repository(
              "dbfs:/databricks///mlflow-tracking///EXP_ID///RUN_ID///artifacts/"
          )
          assert repo.run_id == expected_run_id
          repo = get_artifact_repository(
              "dbfs:/databricks///mlflow-tracking//EXP_ID//RUN_ID///artifacts//"
          )
          assert repo.run_id == expected_run_id
  
imports: import json
  import os
  import posixpath
  import re
  import shutil
  import time
  from unittest import mock
  from unittest.mock import ANY
  import pytest
  from requests.models import Response
  from mlflow.entities.file_info import FileInfo
  from mlflow.exceptions import MlflowException
  from mlflow.protos.databricks_artifacts_pb2 import ArtifactCredentialInfo, ArtifactCredentialType, CompleteMultipartUpload, CreateMultipartUpload, GetCredentialsForRead, GetCredentialsForWrite, GetPresignedUploadPartUrl
  from mlflow.protos.service_pb2 import FileInfo, ListArtifacts
  from mlflow.store.artifact.artifact_repository_registry import get_artifact_repository
  from mlflow.store.artifact.databricks_artifact_repo import _MAX_CREDENTIALS_REQUEST_SIZE, DatabricksArtifactRepository
label_desc: Use image node_id 7 for calling a global function with example usage: test_extract_run_id() without return types