code: def test_databricks_registry_profile(ProfileConfigProvider):
      mock_provider = mock.MagicMock()
      mock_provider.get_config.return_value = None
      ProfileConfigProvider.return_value = mock_provider
      mock_dbutils = mock.MagicMock()
      mock_dbutils.secrets.get.return_value = "random"
      with mock.patch(
          "mlflow.utils.databricks_utils._get_dbutils",
          return_value=mock_dbutils,
      ):
          params = databricks_utils.get_databricks_host_creds(
              "databricks://profile:prefix"
          )
          mock_dbutils.secrets.get.assert_any_call(
              key="prefix-host", scope="profile"
          )
          mock_dbutils.secrets.get.assert_any_call(
              key="prefix-token", scope="profile"
          )
          assert params.host == "random"
          assert params.token == "random"
  
imports: import builtins
  import sys
  from unittest import mock
  import pytest
  from databricks_cli.configure.provider import DatabricksConfig
  from mlflow.exceptions import MlflowException
  from mlflow.utils import databricks_utils
  from mlflow.utils.databricks_utils import check_databricks_secret_scope_access, get_mlflow_credential_context_by_run_id, get_workspace_info_from_databricks_secrets, get_workspace_info_from_dbutils, is_databricks_default_tracking_uri, is_running_in_ipython_environment
  from mlflow.utils.uri import construct_db_uri_from_profile
  from tests.helper_functions import mock_method_chain
label_desc: Use image node_id 6 for calling a global function with example usage: test_databricks_registry_profile(ProfileConfigProvider) without return types