mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Fix broken test, having install questions is mandatory
This commit is contained in:
parent
3bc92abe36
commit
3675daf26d
2 changed files with 2 additions and 0 deletions
|
@ -1984,6 +1984,7 @@ def _convert_v1_manifest_to_v2(manifest):
|
||||||
manifest["maintainers"] = [maintainer] if maintainer else []
|
manifest["maintainers"] = [maintainer] if maintainer else []
|
||||||
|
|
||||||
install_questions = manifest["arguments"]["install"]
|
install_questions = manifest["arguments"]["install"]
|
||||||
|
|
||||||
manifest["install"] = {}
|
manifest["install"] = {}
|
||||||
for question in install_questions:
|
for question in install_questions:
|
||||||
name = question.pop("name")
|
name = question.pop("name")
|
||||||
|
|
|
@ -78,6 +78,7 @@ def _permission_create_with_dummy_app(
|
||||||
"name": app,
|
"name": app,
|
||||||
"id": app,
|
"id": app,
|
||||||
"description": {"en": "Dummy app to test permissions"},
|
"description": {"en": "Dummy app to test permissions"},
|
||||||
|
"arguments": {"install": []}
|
||||||
},
|
},
|
||||||
f,
|
f,
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Reference in a new issue