eth-cscs / stackinator

Home Page:https://eth-cscs.github.io/stackinator/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Parametrise the recipe fixture in tests

RMeli opened this issue · comments

The recipe fixture could be parametrised, instead of returning a list of recipes to loop over in other test functions.

@pytest.fixture
def recipe_paths(test_path, recipes):
return [test_path / "recipes" / r for r in recipes]