From c3d0bc94416dbe6cf73fe37f72591cf62083f36f Mon Sep 17 00:00:00 2001 From: Naresh Kamboju Date: Wed, 17 Aug 2016 12:11:19 +0530 Subject: robot-results-parser: change case pass/fail Signed-off-by: Naresh Kamboju --- robot-results-parser.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/robot-results-parser.py b/robot-results-parser.py index af394f8..a5fe6d1 100755 --- a/robot-results-parser.py +++ b/robot-results-parser.py @@ -32,7 +32,7 @@ for statistics in root.findall('statistics'): for stat in suite.findall('stat'): name = stat.get('name') if '1' == stat.get('pass'): - status = 'PASS' + status = 'pass' else: - status = 'FAIL' + status = 'fail' print name, ":", status -- cgit v1.2.3