From: Sage Weil Date: Tue, 19 Mar 2013 19:02:14 +0000 (-0700) Subject: suite: shorten subject a bit X-Git-Tag: 1.1.0~2234 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=66e27fa5899ea3a160d478fb7fd6afdcff5098c6;p=teuthology.git suite: shorten subject a bit Signed-off-by: Sage Weil --- diff --git a/teuthology/suite.py b/teuthology/suite.py index 496aa2395..6ae30ff3a 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: