From b158fa5f657805159564ae9b1a32543e3298cb0e Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Sat, 19 Dec 2020 00:08:56 +0100 Subject: [PATCH] Fix broken level 4 definition because of typo --- lib/analyze_test_results.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/analyze_test_results.py b/lib/analyze_test_results.py index f26198c..f70d601 100644 --- a/lib/analyze_test_results.py +++ b/lib/analyze_test_results.py @@ -79,7 +79,7 @@ def level_4(tests): 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 != [] \ and all(t["results"]["main_result"] == "success" for t in backup_tests)