Commits

Nat Williams committed 9bc8649

fixing occasional error getting skips

  • Participants
  • Parent commits 59379e1

Comments (0)

Files changed (1)

poster_plugin/hanky_poster.py

         total = result.testsRun
         errors = len(result.errors)
         failures = len(result.failures)
-        skipped = len(result.skipped)
+        skipped = len(getattr(result, skipped, []))
 
         self.testrun.attrib['tests'] = '%d' % total
         self.testrun.attrib['errors'] = '%d' % errors