Browse Source

verify More fixes for Fortune

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

+ 2 - 1
toolset/benchmark/framework_test.py

@@ -170,7 +170,8 @@ class FrameworkTest:
   #
   #
   ############################################################
   ############################################################
   def validateFortune(self, htmlString):
   def validateFortune(self, htmlString):
-    fortuneValidator = FortuneHTMLParser(htmlString)
+    parser = FortuneHTMLParser()
+    parser.feed(htmlString)
 
 
     return fortuneValidator.isValidFortune()
     return fortuneValidator.isValidFortune()