Fix key error in string formatting

Change-Id: Ib8ba3d69e9911db475a17e65623227dcb79e64fe
Closes-bug: #1521516
This commit is contained in:
Artem Panchenko 2015-12-01 10:38:06 +02:00
parent f54b63c584
commit 91c39342ee

View File

@ -299,7 +299,7 @@ def get_tests_results(systest_build, os):
"actual": step['errorStackTrace'] or
step['errorDetails'],
"status": step['status'].lower()})
test_comments = "{err}\n\n\n{details}".format(
test_comments = "{err}\n\n\n{stack}".format(
err=step['errorDetails'],
stack=step['errorStackTrace'])
else: