Fixed 'failure' field name

This commit is contained in:
Jeremy Stretch 2017-09-28 14:57:54 -04:00
parent 1ad099d9fd
commit e86ec75513

View File

@ -34,8 +34,8 @@ class Command(BaseCommand):
status = self.style.ERROR('FAILED') if report.failed else self.style.SUCCESS('SUCCESS') status = self.style.ERROR('FAILED') if report.failed else self.style.SUCCESS('SUCCESS')
for test_name, attrs in report.result.data.items(): for test_name, attrs in report.result.data.items():
self.stdout.write( self.stdout.write(
"\t{}: {} success, {} info, {} warning, {} failed".format( "\t{}: {} success, {} info, {} warning, {} failure".format(
test_name, attrs['success'], attrs['info'], attrs['warning'], attrs['failed'] test_name, attrs['success'], attrs['info'], attrs['warning'], attrs['failure']
) )
) )
self.stdout.write( self.stdout.write(