From 618fd27a3d1fbdd9607350c5f8a72edceade8323 Mon Sep 17 00:00:00 2001 From: Martin Robinson Date: Tue, 3 Oct 2017 10:03:53 +0200 Subject: [PATCH] Fix the test count in the WPT grouping_formatter The internal WPT API seems to have changed again, so we must revert the previous change here to get the correct test count. --- tests/wpt/grouping_formatter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/wpt/grouping_formatter.py b/tests/wpt/grouping_formatter.py index 48bbd2532bd..a02714b7068 100644 --- a/tests/wpt/grouping_formatter.py +++ b/tests/wpt/grouping_formatter.py @@ -105,7 +105,7 @@ class GroupingFormatter(base.BaseFormatter): 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: