From 66e27fa5899ea3a160d478fb7fd6afdcff5098c6 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Tue, 19 Mar 2013 12:02:14 -0700 Subject: [PATCH] suite: shorten subject a bit Signed-off-by: Sage Weil --- teuthology/suite.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/teuthology/suite.py b/teuthology/suite.py index 496aa2395f394..6ae30ff3abb26 100644 --- a/teuthology/suite.py +++ b/teuthology/suite.py @@ -367,8 +367,8 @@ def _results(args): )) if failures or unfinished: - subject = ('{num_failed} failed, {num_hung} possibly hung, ' - 'and {num_passed} passed tests in {suite}'.format( + subject = ('{num_failed} failed, {num_hung} hung, ' + '{num_passed} passed in {suite}'.format( num_failed=num_failures, num_hung=len(unfinished), num_passed=len(passed), @@ -390,7 +390,7 @@ These tests passed: timeout=args.timeout, ) else: - subject = 'All {num_passed} tests passed in {suite}!'.format(suite=args.name, num_passed=len(passed)) + subject = '{num_passed} passed in {suite}'.format(suite=args.name, num_passed=len(passed)) body = '\n'.join(descriptions) try: -- 2.39.5