test-framework: Make pre-logger exceptions readable
Signed-off-by: Kamil Gierszewski <kamil.gierszewski@huawei.com>
This commit is contained in:
parent
5226f62cf2
commit
5bbbf559fd
@ -186,6 +186,8 @@ TestRun.setup = __setup
|
||||
|
||||
@classmethod
|
||||
def __makereport(cls, item, call, res):
|
||||
if cls.LOGGER is None:
|
||||
return None
|
||||
cls.outcome = res.outcome
|
||||
step_info = {
|
||||
'result': res.outcome,
|
||||
|
Loading…
Reference in New Issue
Block a user