code: def test_get_artifact_repo(
      artifact_uri, databricks_uri, uri_for_repo
  ):
      with mock.patch(
          "mlflow.tracking._tracking_service.client.TrackingServiceClient.get_run",
          return_value=Run(
              RunInfo(
                  "uuid",
                  "expr_id",
                  "userid",
                  "status",
                  0,
                  10,
                  "active",
                  artifact_uri=artifact_uri,
              ),
              None,
          ),
      ), mock.patch(
          "mlflow.tracking._tracking_service.client.get_artifact_repository",
          return_value=None,
      ) as get_repo_mock:
          client = TrackingServiceClient(databricks_uri)
          client._get_artifact_repo("some-run-id")
          get_repo_mock.assert_called_once_with(uri_for_repo)
  
imports: from unittest import mock
  import pytest
  from mlflow.entities import Run, RunInfo
  from mlflow.tracking._tracking_service.client import TrackingServiceClient
label_desc: Use image node_id 3 for calling a global function with example usage: test_get_artifact_repo(artifact_uri, databricks_uri, uri_for_repo) without return types