code: def test_default_relative_artifact_uri_resolves(
      text_artifact, tmp_path, monkeypatch
  ):
      tracking_uri = path_to_local_file_uri(
          text_artifact.tmp_path.joinpath("mlruns")
      )
      mlflow.set_tracking_uri(tracking_uri)
      monkeypatch.chdir(tmp_path)
      experiment_id = mlflow.create_experiment(
          "test_exp_a", "test_artifacts_root"
      )
      with mlflow.start_run(experiment_id=experiment_id) as run:
          _assert_artifact_uri(
              tracking_uri,
              str(
                  tmp_path.joinpath(
                      "test_artifacts_root",
                      run.info.run_id,
                      "artifacts",
                      text_artifact.artifact_name,
                  )
              ),
              text_artifact,
              run.info.run_id,
          )
  
imports: import pathlib
  import uuid
  from collections import namedtuple
  from typing import NamedTuple
  from unittest import mock
  import pytest
  import mlflow
  from mlflow.exceptions import MlflowException
  from mlflow.utils.file_utils import mkdir, path_to_local_file_uri
  from mlflow.utils.os import is_windows
label_desc: Use image node_id 17 for calling a global function with example usage: test_default_relative_artifact_uri_resolves(text_artifact, tmp_path, monkeypatch) without return types