From 3956e11df8cff8bc2e8feb4564b63c13daf27f49 Mon Sep 17 00:00:00 2001 From: Qiu Tingting Date: Sat, 21 May 2022 11:46:49 +0800 Subject: qa-test-misc: change order of parameter for write_date_to_json Because order of parameter in write_date_to_json is changed, fix it in rpm and glib2 tests code. Bug-AGL: SPEC-4345 Signed-off-by: Qiu Tingting Change-Id: Ib1b588cef17b62c967327abf4766e04e4b2be072 --- glib2/rootfs-scripts/report.py | 2 +- rpm/rootfs-scripts/report.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/glib2/rootfs-scripts/report.py b/glib2/rootfs-scripts/report.py index 28f2ac5..8540e69 100644 --- a/glib2/rootfs-scripts/report.py +++ b/glib2/rootfs-scripts/report.py @@ -17,7 +17,7 @@ def log_report(test_cases_values_and_status,THIS_TEST): else: test_set_status = "failed" - agl_test_report.write_date_to_json(test_set_status,THIS_TEST,summary,case_status) + agl_test_report.write_date_to_json(THIS_TEST,test_set_status,summary,case_status) #Package log file agl_test_report.log_compress(THIS_TEST) diff --git a/rpm/rootfs-scripts/report.py b/rpm/rootfs-scripts/report.py index 28f2ac5..8540e69 100644 --- a/rpm/rootfs-scripts/report.py +++ b/rpm/rootfs-scripts/report.py @@ -17,7 +17,7 @@ def log_report(test_cases_values_and_status,THIS_TEST): else: test_set_status = "failed" - agl_test_report.write_date_to_json(test_set_status,THIS_TEST,summary,case_status) + agl_test_report.write_date_to_json(THIS_TEST,test_set_status,summary,case_status) #Package log file agl_test_report.log_compress(THIS_TEST) -- cgit 1.2.3-korg