Commit 4cd8dfaa by Etienne Samson

clar: correctly account for "data" suites when counting

Failing to do that makes clar miss the last of the suites, as all
duplicated "data" would have not been accounted for.
parent f92d495d
......@@ -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())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment