Added posting results line to results screen
This commit is contained in:
parent
41b8d632ae
commit
1d9c3b1869
1 changed files with 22 additions and 17 deletions
|
|
@ -1034,6 +1034,8 @@ def run_hw_tests(state):
|
||||||
show_results(state)
|
show_results(state)
|
||||||
|
|
||||||
# Post disk results
|
# Post disk results
|
||||||
|
if not state.ost.disabled:
|
||||||
|
print_standard('Posting results to osTicket...')
|
||||||
for disk in state.disks:
|
for disk in state.disks:
|
||||||
state.ost.post_device_results(disk, state.ticket_id)
|
state.ost.post_device_results(disk, state.ticket_id)
|
||||||
|
|
||||||
|
|
@ -1054,6 +1056,9 @@ def run_hw_tests(state):
|
||||||
elif all_disks_passed:
|
elif all_disks_passed:
|
||||||
state.ost.set_disk_passed(state.ticket_id)
|
state.ost.set_disk_passed(state.ticket_id)
|
||||||
|
|
||||||
|
# Spacer
|
||||||
|
print_standard(' ')
|
||||||
|
|
||||||
# Check for osTicket errors
|
# Check for osTicket errors
|
||||||
if state.ost.errors:
|
if state.ost.errors:
|
||||||
print_warning('Errors encountered posting results to osTicket.')
|
print_warning('Errors encountered posting results to osTicket.')
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue