summaryrefslogtreecommitdiff
path: root/tests/generate.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/generate.py')
-rwxr-xr-x[-rw-r--r--]tests/generate.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/generate.py b/tests/generate.py
index 572a57f86..82e436532 100644..100755
--- a/tests/generate.py
+++ b/tests/generate.py
@@ -210,7 +210,7 @@ class TestSuite(object):
module.modified = True
def suite_count(self):
- return len(self.modules)
+ return sum(len(module.initializers) for module in self.modules.values())
def callback_count(self):
return sum(len(module.callbacks) for module in self.modules.values())