Browse Source

verify Fix attempt at json verification

Mike Smith 11 years ago
parent
commit
461826997c
1 changed files with 2 additions and 5 deletions
  1. 2 5
      toolset/benchmark/framework_test.py

+ 2 - 5
toolset/benchmark/framework_test.py

@@ -113,14 +113,11 @@ class FrameworkTest:
   def validateJson(self, jsonString):
     obj = json.loads(jsonString)
 
-    print "jsonString: '{s}'\n".format(s=jsonString)
-    print "obj: '{o}'\n".format(o=obj)
-
     if not obj:
       return False
-    if not obj.message:
+    if not obj["message"]:
       return False
-    if not obj.message.lower() == "hello, world!":
+    if not obj["message"]lower() == "hello, world!":
       return False
     return True