Commit 1c4cc0c9 authored by Federico Sismondi's avatar Federico Sismondi

Fix error trying to do message rendering for test case verdict

parent 6de25b86
Pipeline #3111 failed with stage
in 0 seconds
......@@ -138,8 +138,6 @@ def testcase_verdict_to_ascii_table(testcase_verdict_report):
('testcase_id', 'Test case ID'),
('objective', 'Test Purpose'),
('testcase_ref', 'Test case URL'),
('pre_conditions', 'Pre-conditions'),
]
for i in step_message_fields:
......@@ -149,7 +147,7 @@ def testcase_verdict_to_ascii_table(testcase_verdict_report):
col2 = list_to_str(col2) # flattens info
table.append([col1, col2])
except KeyError as e:
logger.warning(e)
logger.warning("Non existing message field. Got exception: %s" % e)
ret_string += "\n === Verdict info ==="
ret_string += "\n"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment