mirror of
https://github.com/YunoHost/package_check.git
synced 2024-09-03 20:06:20 +02:00
People keep writing name = 'Upgrade from x.y.z' but then it's also added by the test code which ends up in 'Upgrade from Upgrade from x.y.z'
This commit is contained in:
parent
3b76e5159a
commit
e7b47542c8
1 changed files with 2 additions and 0 deletions
|
@ -49,6 +49,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 infos["upgrade_name"]:
|
||||
infos["upgrade_name"] = infos["upgrade_name"].replace("Upgrade from ", "")
|
||||
if "args" in infos:
|
||||
infos["install_args"] = infos.pop("args")
|
||||
upgrade_meta = copy.copy(default_meta)
|
||||
|
|
Loading…
Add table
Reference in a new issue