Revision: 6c7cad4c3156
Author:   Pekka Klärck
Date:     Thu Aug 16 07:41:41 2012
Log: fixed atests that verified stats in log/report after adding elapsed time to them
http://code.google.com/p/robotframework/source/detail?r=6c7cad4c3156

Modified:
 /atest/robot/output/html_output_stats.py

=======================================
--- /atest/robot/output/html_output_stats.py    Wed Nov 30 15:06:25 2011
+++ /atest/robot/output/html_output_stats.py    Thu Aug 16 07:41:41 2012
@@ -31,6 +31,7 @@
                 return line[len(prefix):-2]

 def verify_stat(stat, *attrs):
+    stat.pop('elapsed')
     expected = dict(_get_expected_stat(attrs))
     if stat != expected:
raise WrongStat('\n%-9s: %s\n%-9s: %s' % ('Got', stat, 'Expected', expected))

Reply via email to