blueprints: validate instance before creating in metaapplyblueprint

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer
2022-09-10 13:54:28 +02:00
parent a407334d3b
commit 4c4d87d3bd
3 changed files with 25 additions and 11 deletions

View File

@ -33,4 +33,6 @@ def blueprint_tester(file_name: Path) -> Callable:
for blueprint_file in Path("blueprints/").glob("**/*.yaml"):
if "local" in str(blueprint_file):
continue
setattr(TestPackaged, f"test_blueprint_{blueprint_file}", blueprint_tester(blueprint_file))