Commit 815ed222 authored by Jose Fonseca's avatar Jose Fonseca

framework: Get traceback into json results.

Exceptions were not reaching it.
Reviewed-by: Dylan Baker's avatarDylan Baker <>
parent e6656495
......@@ -197,6 +197,7 @@ class TestResult(object):
'subtests': self.subtests,
'time': self.time,
'exception': self.exception,
'traceback': self.traceback,
'dmesg': self.dmesg,
......@@ -218,7 +219,7 @@ class TestResult(object):
inst = cls()
for each in ['returncode', 'command', 'exception', 'environment',
'time', 'result', 'dmesg', 'pid']:
'time', 'traceback', 'result', 'dmesg', 'pid']:
if each in dict_:
setattr(inst, each, dict_[each])
......@@ -75,6 +75,14 @@
% if value.exception:
<pre>${value.exception | h}</pre>
% endif
% if value.traceback:
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