Coverage Analysis: Update Test Case Status

Modify the condition in the parse_testplan
function to align with the changes in the Status class.

Signed-off-by: Arkadiusz Cholewinski <arkadiuszx.cholewinski@intel.com>
This commit is contained in:
Arkadiusz Cholewinski 2024-08-21 18:46:32 +02:00 committed by Anas Nashif
commit 65051c8a24

View file

@ -52,7 +52,7 @@ class Json_report:
for element in parser:
for testsuite in element:
for testcase in testsuite['testcases']:
if testcase['status'] is None:
if testcase['status'] == 'None':
testcase_name = testcase['identifier']
component_name = testcase_name[:testcase_name.find('.')]
component = {