test-backend: Fix count for templates without tests.

This commit is contained in:
Tim Abbott 2016-11-30 15:38:19 -08:00
parent e4091c6413
commit e73ee5a4c4
1 changed files with 1 additions and 1 deletions

View File

@ -174,7 +174,7 @@ if __name__ == "__main__":
templates_not_rendered = test_runner.get_shallow_tested_templates() templates_not_rendered = test_runner.get_shallow_tested_templates()
if templates_not_rendered: if templates_not_rendered:
missed_count = len(templates_not_rendered) missed_count = len(templates_not_rendered)
print("\nError: %s templates have no tests!".format(missed_count)) print("\nError: %s templates have no tests!" % (missed_count,))
for template in templates_not_rendered: for template in templates_not_rendered:
print(' {}'.format(template)) print(' {}'.format(template))
failures = True failures = True