code: def test_artifact_uri_factory():
      repo = get_artifact_repository(
          "ftp://user:pass@test_ftp:123/some/path"
      )
      assert isinstance(repo, FTPArtifactRepository)
  
imports: import ftplib
  import posixpath
  from ftplib import FTP
  from unittest.mock import MagicMock
  import pytest
  from mlflow.store.artifact.artifact_repository_registry import get_artifact_repository
  from mlflow.store.artifact.ftp_artifact_repo import FTPArtifactRepository
label_desc: Use image node_id 2 for calling a global function with example usage: test_artifact_uri_factory() without return types