Frozenball/pytest-sugar — pull request #2 by dscerri (2013-08-16 06:15:05+00:00)
Title: Ignore deselected tests when calculating progress

I noticed that the current progress is defined as :

p = float(self.tests_taken) / self.tests_count

where self.tests_count is the total tests collected, rather than the total collected less the number of deselected tests. I have fixed this, and changed the progress bar update to be after the tear down of a test.

Tests are failing, but were failing before this commit.