From 8d5183c1ece79ae7e10e623e8f08a8fbde23d468 Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Wed, 8 Jan 2020 10:53:19 +0100 Subject: bin:pm_test: Fix typo preventing comments to be available in reports --- bin/pm_test | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin') diff --git a/bin/pm_test b/bin/pm_test index f455858..1ac0c53 100755 --- a/bin/pm_test +++ b/bin/pm_test @@ -68,7 +68,7 @@ def main(): operation.teardown() result = { 'outcome': 'fail', - 'comment': message, + 'comments': message, } with open(os.path.join(args.log_dir, '__result'), 'wt') as f: json.dump(result, f) @@ -268,7 +268,7 @@ class PowerManagementOperation(): if problems: result = { 'outcome': 'fail' if problems else 'pass', - 'comment': problems, + 'comments': problems, } result_filename = os.path.join(self.args.log_dir, '__result') with open(result_filename, 'wt') as f: -- cgit v1.2.3