diff --git a/ietf/utils/test_runner.py b/ietf/utils/test_runner.py index ca70f13be..83f8c07bb 100644 --- a/ietf/utils/test_runner.py +++ b/ietf/utils/test_runner.py @@ -104,7 +104,7 @@ def run_tests(*args, **kwargs): if failures: tfile.write("%s FAILED (failures=%s)\n" % (timestr, failures)) else: - if args: + if list(*args): tfile.write("%s SUCCESS (tests=%s)\n" % (timestr, repr(list(*args)))) else: tfile.write("%s OK\n" % (timestr, ))