]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
Printing the number of tests passed when 'all' tests are successful
authortamil <tamil@ubuntu.(none)>
Sat, 6 Oct 2012 00:33:57 +0000 (17:33 -0700)
committertamil <tamil@ubuntu.(none)>
Sat, 6 Oct 2012 00:33:57 +0000 (17:33 -0700)
Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
teuthology/suite.py

index 09a7e0c8dbf31f411af9cc29d7473b595bd9aeaf..5bec9d1c614ea3aed6a42bce17bc37d5c2bbbf31 100644 (file)
@@ -385,7 +385,7 @@ These tests passed:
             timeout=args.timeout,
             )
     else:
-        subject = 'All tests passed in {suite}!'.format(suite=args.name)
+        subject = 'All {num_passed} tests passed in {suite}!'.format(suite=args.name, num_passed=len(passed))
         body = '\n'.join(descriptions)
 
     try: