summaryrefslogtreecommitdiff
path: root/bin
diff options
Diffstat (limited to 'bin')
-rwxr-xr-xbin/pm_test4
1 files changed, 2 insertions, 2 deletions
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: