From 91c39342ee25711e398b2132d01d4d27f59194aa Mon Sep 17 00:00:00 2001 From: Artem Panchenko Date: Tue, 1 Dec 2015 10:38:06 +0200 Subject: [PATCH] Fix key error in string formatting Change-Id: Ib8ba3d69e9911db475a17e65623227dcb79e64fe Closes-bug: #1521516 --- fuelweb_test/testrail/report.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fuelweb_test/testrail/report.py b/fuelweb_test/testrail/report.py index feac63843..e6348dc5e 100755 --- a/fuelweb_test/testrail/report.py +++ b/fuelweb_test/testrail/report.py @@ -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: