code: def test_plugin_registration_via_installed_package():
      """This test requires the package in tests/resources/mlflow-test-plugin to be installed"""
  
      reload(artifact_repository_registry)
  
      assert (
          "file-plugin"
          in artifact_repository_registry._artifact_repository_registry._registry
      )
  
      from mlflow_test_plugin.local_artifact import (
          PluginLocalArtifactRepository,
      )
  
      test_uri = "file-plugin:test-path"
  
      plugin_repo = (
          artifact_repository_registry.get_artifact_repository(test_uri)
      )
  
      assert isinstance(plugin_repo, PluginLocalArtifactRepository)
      assert plugin_repo.is_plugin
  
file_path: mlflow/tests/store/artifact/test_artifact_repository_registry.py
imports: from importlib import reload
  from unittest import mock
  import pytest
  import mlflow
  from mlflow.store.artifact import artifact_repository_registry
  from mlflow.store.artifact.artifact_repository_registry import ArtifactRepositoryRegistry
label_desc: Use image node_id 2 for calling a global function with example usage: test_plugin_registration_via_installed_package() without return types