code: def test_artifact_uri_factory(tmp_path):
      assert isinstance(
          get_artifact_repository(f"sftp://{tmp_path}"),
          SFTPArtifactRepository,
      )
  
file_path: mlflow/tests/store/artifact/test_sftp_artifact_repo.py
imports: import os
  import posixpath
  from tempfile import NamedTemporaryFile
  import pytest
  import mlflow
  from mlflow.store.artifact.artifact_repository_registry import get_artifact_repository
  from mlflow.store.artifact.sftp_artifact_repo import SFTPArtifactRepository
  from mlflow.utils.file_utils import TempDir
label_desc: Use image node_id 1 for calling a global function with example usage: test_artifact_uri_factory(tmp_path) without return types