mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-20 10:16:42 -06:00
Fixed 'failure' field name
This commit is contained in:
parent
1ad099d9fd
commit
e86ec75513
@ -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(
|
||||||
|
Loading…
Reference in New Issue
Block a user