mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Fix tests
This commit is contained in:
parent
6316b94af4
commit
05a459d4df
2 changed files with 277 additions and 375 deletions
File diff suppressed because it is too large
Load diff
|
@ -1408,6 +1408,7 @@ def ask_questions_and_parse_answers(
|
||||||
out = []
|
out = []
|
||||||
|
|
||||||
for name, raw_question in raw_questions.items():
|
for name, raw_question in raw_questions.items():
|
||||||
|
raw_question['name'] = name
|
||||||
question_class = ARGUMENTS_TYPE_PARSERS[raw_question.get("type", "string")]
|
question_class = ARGUMENTS_TYPE_PARSERS[raw_question.get("type", "string")]
|
||||||
raw_question["value"] = answers.get(name)
|
raw_question["value"] = answers.get(name)
|
||||||
question = question_class(raw_question, context=context, hooks=hooks)
|
question = question_class(raw_question, context=context, hooks=hooks)
|
||||||
|
|
Loading…
Add table
Reference in a new issue