code: def test_create_recipe_fails_with_invalid_input(
      recipe_name, profile, enter_recipe_example_directory
  ):
      recipe_root_path = os.path.join(
          os.path.dirname(enter_recipe_example_directory), recipe_name
      )
      with pytest.raises(
          MlflowException,
          match=r"(Failed to find|Did not find the YAML configuration)",
      ):
          RegressionRecipe(
              recipe_root_path=recipe_root_path, 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 3 for calling a global function with example usage: test_create_recipe_fails_with_invalid_input(recipe_name, profile, enter_recipe_example_directory) without return types