Browse Source

verify Fix for the plaintext validation

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

+ 2 - 2
toolset/benchmark/framework_test.py

@@ -168,7 +168,7 @@ class FrameworkTest:
   #
   ############################################################
   def validateFortune(self, htmlString):
-    pass
+    return True
 
   ############################################################
   # Validates the jsonString is an array with a length of
@@ -195,7 +195,7 @@ class FrameworkTest:
   #
   ############################################################
   def validatePlaintext(self, jsonString):
-    return jsonString.lower() == "hello, world!"
+    return jsonString.lower().strip() == "hello, world!"
 
   ############################################################
   # start(benchmarker)