Merge "Fix KeyError in show_stopper checking"
authorJuha Kosonen <juha.kosonen@nokia.com>
Wed, 17 Apr 2019 13:57:42 +0000 (13:57 +0000)
committerGerrit Code Review <gerrit@akraino.org>
Wed, 17 Apr 2019 13:57:42 +0000 (13:57 +0000)
bluval/bluval.py

index bf5e0c8..c0c16de 100644 (file)
@@ -34,7 +34,7 @@ def run_testcase(testcase):
     print('Invoking {}'.format(cmd))
     try:
         status = subprocess.call(cmd, shell=True)
-        if status != 0 and testcase['show_stopper']:
+        if status != 0 and show_stopper:
             print('Show stopper testcase failed')
             return status
     except OSError: