Browse Source

Fix bug in master: All JSON verifications started failing

[ci skip]
Hamilton Turner 11 years ago
parent
commit
1b232e0894
1 changed files with 1 additions and 1 deletions
  1. 1 1
      toolset/benchmark/framework_test.py

+ 1 - 1
toolset/benchmark/framework_test.py

@@ -154,7 +154,7 @@ class FrameworkTest:
       obj = {k.lower(): v for k,v in json.loads(jsonString).items()}
       if "message" not in obj:
         err_str += "Expected key 'message' to be in JSON string "
-      if  obj["message"].lower() == "hello, world!":
+      if  not obj["message"].lower() == "hello, world!":
         err_str += "Message was '{message}', should have been 'Hello, World!' ".format(message=obj["message"])
     except:
       err_str += "Got exception when trying to validate the JSON test: {exception}".format(exception=traceback.print_exc())