code: def test_get_default_profile_works():
      assert get_default_profile() == "local"
      with mock.patch(
          "mlflow.recipes.utils.is_in_databricks_runtime",
          return_value=True,
      ) as patched_is_in_databricks_runtime:
          assert get_default_profile() == "databricks"
          patched_is_in_databricks_runtime.assert_called_once()
  
imports: import json
  import os
  import pathlib
  import shutil
  from unittest import mock
  import pytest
  from mlflow.exceptions import MlflowException
  from mlflow.recipes.utils import get_default_profile, get_recipe_config, get_recipe_name, get_recipe_root_path
  from mlflow.utils.file_utils import write_yaml
  from tests.recipes.helper_functions import chdir
label_desc: Use image node_id 9 for calling a global function with example usage: test_get_default_profile_works() without return types