def METHOD_NAME(tmp_path: pathlib.Path):
    files = [
        "recipe.yaml",
        "requirements.txt",
        "profiles/local.yaml",
        "steps/train.py",
        "runtime/recipe.yaml",
    ]
    for f in files:
        path = tmp_path.joinpath(f)
        path.parent.mkdir(exist_ok=True, parents=True)
        path.write_text("")
    mlflow.set_experiment(experiment_id="0")
    recipe_config = {"name": "fake_config", "dict": {"key": 123}}
    with mlflow.start_run() as run:
        log_code_snapshot(tmp_path, run.info.run_id, recipe_config=recipe_config)
        tracking_uri = mlflow.get_tracking_uri()
    artifacts = set(list_all_artifacts(tracking_uri, run.info.run_id))
    assert artifacts.issuperset(f"recipe_snapshot/{f}" for f in files)