code: def test_artifact_uri_factory(mock_client):
      # pylint: disable=unused-argument
      # We pass in the mock_client here to clear Azure environment variables, but we don't use it;
      # We do need to set up a fake access key for the code to run though
      os.environ["AZURE_STORAGE_ACCESS_KEY"] = ""
      repo = get_artifact_repository(TEST_URI)
      assert isinstance(repo, AzureBlobArtifactRepository)
      del os.environ["AZURE_STORAGE_ACCESS_KEY"]
  
imports: import base64
  import os
  import posixpath
  from unittest import mock
  import pytest
  from azure.storage.blob import BlobPrefix, BlobProperties, BlobServiceClient
  from mlflow.entities.multipart_upload import MultipartUploadPart
  from mlflow.exceptions import MlflowException
  from mlflow.store.artifact.artifact_repository_registry import get_artifact_repository
  from mlflow.store.artifact.azure_blob_artifact_repo import AzureBlobArtifactRepository
label_desc: Use image node_id 2 for calling a global function with example usage: test_artifact_uri_factory(mock_client) without return types