mirror of
https://github.com/YunoHost/package_check.git
synced 2024-09-03 20:06:20 +02:00
Fix broken level 4 definition because of typo
This commit is contained in:
parent
d24f39cfff
commit
b158fa5f65
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ def level_4(tests):
|
||||||
All backup/restore tests succeded (and at least one test was made)
|
All backup/restore tests succeded (and at least one test was made)
|
||||||
"""
|
"""
|
||||||
|
|
||||||
backup_tests = [t for t in tests if t["test_type"] == "TEST_BACKUP"]
|
backup_tests = [t for t in tests if t["test_type"] == "TEST_BACKUP_RESTORE"]
|
||||||
|
|
||||||
return backup_tests != [] \
|
return backup_tests != [] \
|
||||||
and all(t["results"]["main_result"] == "success" for t in backup_tests)
|
and all(t["results"]["main_result"] == "success" for t in backup_tests)
|
||||||
|
|
Loading…
Add table
Reference in a new issue