code: def test_artifact_uri_factory():
      repo = get_artifact_repository("mlflow-artifacts://test.com")
      assert isinstance(repo, MlflowArtifactsRepository)
  
imports: import os
  import posixpath
  from unittest import mock
  import pytest
  from mlflow.exceptions import MlflowException
  from mlflow.store.artifact.artifact_repository_registry import get_artifact_repository
  from mlflow.store.artifact.mlflow_artifacts_repo import MlflowArtifactsRepository
  from mlflow.tracking._tracking_service.utils import _get_default_host_creds
label_desc: Use image node_id 2 for calling a global function with example usage: test_artifact_uri_factory() without return types