소스 검색

Fixed 'failure' field name

Jeremy Stretch 8 년 전
부모
커밋
e86ec75513
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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(