mirror of
https://github.com/YunoHost/package_check.git
synced 2024-09-03 20:06:20 +02:00
Fix args in test_upgrade_from not being taken into account because of confusion betweenaargs and install_args
This commit is contained in:
parent
3529409001
commit
0b71d81f91
1 changed files with 2 additions and 0 deletions
|
@ -48,6 +48,8 @@ def generate_test_list_base(test_manifest, default_install_args, is_webapp, is_m
|
|||
yield test_suite_id, "upgrade", default_meta
|
||||
for commit, infos in test_suite.get("test_upgrade_from", {}).items():
|
||||
infos["upgrade_name"] = infos.pop("name")
|
||||
if "install_args" in infos:
|
||||
infos["args"] = infos.pop("install_args")
|
||||
upgrade_meta = copy.copy(default_meta)
|
||||
upgrade_meta.update(infos)
|
||||
yield test_suite_id, "upgrade." + commit, upgrade_meta
|
||||
|
|
Loading…
Add table
Reference in a new issue