code: def test_get_recipe_config_returns_correctly_for_valid_recipe_directory(
      enter_recipe_example_directory, tmp_path
  ):
      recipe_root_path = enter_recipe_example_directory
      test_recipe_root_path = tmp_path / "test_recipe"
      shutil.copytree(recipe_root_path, test_recipe_root_path)
  
      test_recipe_config = {
          "config1": 10,
          "config2": {
              "subconfig": ["A"],
          },
          "config3": "3",
      }
      write_yaml(
          test_recipe_root_path,
          "recipe.yaml",
          test_recipe_config,
          overwrite=True,
      )
  
      with chdir(test_recipe_root_path):
          assert pathlib.Path.cwd() == test_recipe_root_path
          assert get_recipe_config() == test_recipe_config
  
      with chdir(tmp_path):
          assert (
              get_recipe_config(recipe_root_path=test_recipe_root_path)
              == test_recipe_config
          )
  
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 5 for calling a global function with example usage: test_get_recipe_config_returns_correctly_for_valid_recipe_directory(enter_recipe_example_directory, tmp_path) without return types