code: def test_create_recipe_works(enter_recipe_example_directory):
      recipe_root_path = enter_recipe_example_directory
      recipe_name = os.path.basename(recipe_root_path)
      profile = "local"
      r = RegressionRecipe(
          recipe_root_path=recipe_root_path, profile=profile
      )
      assert r.name == recipe_name
      assert r.profile == profile
  
file_path: mlflow/tests/recipes/regression/v1/test_regression_pipeline.py
imports: import os
  import pytest
  from mlflow.exceptions import MlflowException
  from mlflow.recipes.regression.v1.recipe import RegressionRecipe
label_desc: Use image node_id 2 for calling a global function with example usage: test_create_recipe_works(enter_recipe_example_directory) without return types