code: def test_get_recipe_root_path_returns_correctly_when_inside_recipe_directory(
      enter_recipe_example_directory,
  ):
      recipe_root_path = enter_recipe_example_directory
      assert get_recipe_root_path() == str(recipe_root_path)
      os.chdir(pathlib.Path.cwd() / "notebooks")
      assert get_recipe_root_path() == str(
          enter_recipe_example_directory
      )
  
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 1 for calling a global function with example usage: test_get_recipe_root_path_returns_correctly_when_inside_recipe_directory(enter_recipe_example_directory) without return types