Skip to content

Commit

Permalink
Fix the test count in the WPT grouping_formatter
Browse files Browse the repository at this point in the history
The internal WPT API seems to have changed again, so we must revert the
previous change here to get the correct test count.
  • Loading branch information
mrobinson committed Oct 3, 2017
1 parent 2a51213 commit 618fd27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/wpt/grouping_formatter.py
Expand Up @@ -105,7 +105,7 @@ def build_status_line(self):
return new_display + "No tests running.\n"

def suite_start(self, data):
self.number_of_tests = sum(len(tests) for tests in data["tests"].itervalues())
self.number_of_tests = len(data["tests"])
self.start_time = data["time"]

if self.number_of_tests == 0:
Expand Down

0 comments on commit 618fd27

Please sign in to comment.