Fix broken level 4 definition because of typo

This commit is contained in:
Alexandre Aubin 2020-12-19 00:08:56 +01:00
parent d24f39cfff
commit b158fa5f65

View file

@ -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)