diff options
author | yanxk <yanxk.fnst@fujitsu.com> | 2022-06-28 11:37:49 +0800 |
---|---|---|
committer | yanxk <yanxk.fnst@fujitsu.com> | 2022-06-28 11:37:49 +0800 |
commit | 73a0548851b101d58478bfe7e60d9a74b334dcb9 (patch) | |
tree | dafa2a7aeecd67da922872191572448a84112a8e | |
parent | 562d91e1446047dcf340116dec2161c2f11d0745 (diff) |
agl-test-framework: fix a naming definition mistake
Since no 'date' information was written into the JSON file,
the name of the function should be 'write_data_to_json'.
Bug-AGL: SPEC-4345
Signed-off-by: yanxk <yanxk.fnst@fujitsu.com>
Change-Id: I61043c28d36a6c208b729b7c755da4b97970ae97
-rw-r--r-- | plugins/agl_test_report.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/agl_test_report.py b/plugins/agl_test_report.py index f9d9fc3..958fe29 100644 --- a/plugins/agl_test_report.py +++ b/plugins/agl_test_report.py @@ -95,7 +95,7 @@ def format_json_data(name, test_set_status, summary, case_status): return summary #Write the test result to a json file -def write_date_to_json(THIS_TEST,test_set_status,summary,case_status): +def write_data_to_json(THIS_TEST,test_set_status,summary,case_status): #The data that will be written into the json file data = { 'test_status': test_set_status, |