From c2f8bcb90801a37d5e32a1465ebfe85d8d7f66a8 Mon Sep 17 00:00:00 2001 From: Francis Deslauriers Date: Wed, 15 Jan 2020 14:08:48 -0500 Subject: [PATCH] jjb: system-tests: replace remaining `yaml.load()` method See follow commit for details: commit be7f51b658568ac8d4d83aaf55b6ee381a75e04f Author: Francis Deslauriers Date: Thu Dec 19 23:35:39 2019 -0500 jjb: system-tests: use `yaml.unsafe_load()` method Signed-off-by: Francis Deslauriers --- scripts/system-tests/lava2-submit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/system-tests/lava2-submit.py b/scripts/system-tests/lava2-submit.py index 4ff35c2..614a1a9 100644 --- a/scripts/system-tests/lava2-submit.py +++ b/scripts/system-tests/lava2-submit.py @@ -72,7 +72,7 @@ def check_job_all_test_cases_state_count(server, job): """ print("Testcase result:") content = server.results.get_testjob_results_yaml(str(job)) - testcases = yaml.load(content) + testcases = yaml.unsafe_load(content) passed_tests = 0 failed_tests = 0 -- 2.34.1