validate:launcher:reporter: Sort Final report by results

This commit is contained in:
Thibault Saunier 2014-06-16 16:47:18 +02:00
parent b8e1c3e64c
commit 4f01b2bd8a

View file

@ -97,7 +97,7 @@ class Reporter(Loggable):
def final_report(self):
print "\n"
printc("Final Report:", title=True)
for test in self.results:
for test in sorted(self.results, key=lambda test: test.result):
printc(test)
print "\n"