mirror of https://github.com/zulip/zulip.git
test-backend: Fix count for templates without tests.
This commit is contained in:
parent
e4091c6413
commit
e73ee5a4c4
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue