code: def test_get_store_rest_store_from_arg(monkeypatch):
      monkeypatch.setenv(
          MLFLOW_TRACKING_URI.name, "https://my-tracking-server:5050"
      )
      store = _get_store("http://some/path")
      assert isinstance(store, RestStore)
      assert store.get_host_creds().host == "http://some/path"
  
imports: import io
  import pickle
  from unittest import mock
  import pytest
  from mlflow.environment_variables import MLFLOW_TRACKING_URI
  from mlflow.store._unity_catalog.registry.rest_store import UcModelRegistryStore
  from mlflow.store.db.db_types import DATABASE_ENGINES
  from mlflow.store.model_registry.rest_store import RestStore
  from mlflow.store.model_registry.sqlalchemy_store import SqlAlchemyStore
  from mlflow.tracking._model_registry.utils import _get_store, get_registry_uri, set_registry_uri
  from mlflow.tracking.registry import UnsupportedModelRegistryStoreURIException
label_desc: Use image node_id 6 for calling a global function with example usage: test_get_store_rest_store_from_arg(monkeypatch) without return types