code: def test_init_get_host_creds_with_databricks_profile_uri():
      databricks_host = "https://something.databricks.com"
      default_host = "http://host"
      with mock.patch(
          DBFS_ARTIFACT_REPOSITORY_PACKAGE
          + "._get_host_creds_from_default_store",
          return_value=lambda: MlflowHostCreds(default_host),
      ), mock.patch(
          DBFS_ARTIFACT_REPOSITORY_PACKAGE
          + ".get_databricks_host_creds",
          return_value=MlflowHostCreds(databricks_host),
      ):
          repo = DbfsRestArtifactRepository(
              "dbfs://profile@databricks/test/"
          )
          assert repo.artifact_uri == "dbfs:/test/"
          creds = repo.get_host_creds()
          assert creds.host == databricks_host
          # no databricks_profile_uri given
          repo = DbfsRestArtifactRepository("dbfs:/test/")
          creds = repo.get_host_creds()
          assert creds.host == default_host
  
imports: import json
  import os
  from unittest import mock
  from unittest.mock import Mock
  import pytest
  from mlflow.exceptions import MlflowException
  from mlflow.store.artifact.artifact_repository_registry import get_artifact_repository
  from mlflow.store.artifact.dbfs_artifact_repo import DbfsRestArtifactRepository, _get_host_creds_from_default_store
  from mlflow.store.tracking.file_store import FileStore
  from mlflow.store.tracking.rest_store import RestStore
  from mlflow.utils.rest_utils import MlflowHostCreds, http_request
label_desc: Use image node_id 5 for calling a global function with example usage: test_init_get_host_creds_with_databricks_profile_uri() without return types