Browse Source

Fixed 'failure' field name

Jeremy Stretch 7 years ago
parent
commit
e86ec75513
1 changed files with 2 additions and 2 deletions
  1. 2 2
      netbox/extras/management/commands/runreport.py

+ 2 - 2
netbox/extras/management/commands/runreport.py

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