Skip to content

Parametrise the recipe fixture in tests #76

@RMeli

Description

@RMeli

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]

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions