Commits

Ronny Pfannschmidt committed 1768736

fix bug in stats getting

  • Participants
  • Parent commits 02d2494

Comments (0)

Files changed (1)

File pytest_gui/gtkui/runstate.py

 
         for stat in ('passed', 'failed', 'skipped', 'xfailed', 'xpassed'):
             if stat in self.stats:
-                stats.append(str(len(self.stats['failed'])))
+                stats.append(str(len(self.stats[stat])))
                 stats.append(stat)
         self.run_stat_label.set_text(' '.join(stats))
         #XXX: update the ui