Fix broken test, having install questions is mandatory

This commit is contained in:
Alexandre Aubin 2022-05-06 16:43:58 +02:00
parent 3bc92abe36
commit 3675daf26d
2 changed files with 2 additions and 0 deletions

View file

@ -1984,6 +1984,7 @@ def _convert_v1_manifest_to_v2(manifest):
manifest["maintainers"] = [maintainer] if maintainer else []
install_questions = manifest["arguments"]["install"]
manifest["install"] = {}
for question in install_questions:
name = question.pop("name")

View file

@ -78,6 +78,7 @@ def _permission_create_with_dummy_app(
"name": app,
"id": app,
"description": {"en": "Dummy app to test permissions"},
"arguments": {"install": []}
},
f,
)