add padding to durations in rep.when

This commit is contained in:
Alfredo Deza 2011-11-18 09:59:39 -05:00
parent ec0565fac5
commit efe438d3e8
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ def pytest_terminal_summary(terminalreporter):
for duration, rep in d2: for duration, rep in d2:
nodeid = rep.nodeid.replace("::()::", "::") nodeid = rep.nodeid.replace("::()::", "::")
tr.write_line("%02.2fs %s %s" % tr.write_line("%02.2fs %-8s %s" %
(duration, rep.when, nodeid)) (duration, rep.when, nodeid))
def pytest_sessionstart(session): def pytest_sessionstart(session):