summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2016-09-01 10:25:26 -0400
committerAdam Jackson <ajax@redhat.com>2016-09-01 16:30:20 -0400
commitaa2edfb00006721f73570c505e9c886262dfb40a (patch)
treedf50de90b5a4c918e7c21ed00789cd56d5e74d24
parent75819c13af2ed54397a4391821f5febaf708a6c2 (diff)
summary/csv: Fix elapsed time output
"<framework.results.TimeAttribute object @ wherever>" isn't an especially useful thing to print in the output. Signed-off-by: Adam Jackson <ajax@redhat.com>
-rw-r--r--framework/programs/summary.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/programs/summary.py b/framework/programs/summary.py
index c297a7bcb..e400d9a76 100644
--- a/framework/programs/summary.py
+++ b/framework/programs/summary.py
@@ -190,7 +190,7 @@ def csv(input_):
def write_results(output):
for name, result in six.iteritems(testrun.tests):
- output.write("{},{},{},{}\n".format(name, result.time,
+ output.write("{},{},{},{}\n".format(name, result.time.total,
result.returncode,
result.result))