parent
8cb9e6c840
commit
146b3304aa
2 changed files with 15 additions and 10 deletions
|
|
@ -146,15 +146,16 @@ SMC_IDS = {
|
|||
'TS0C': {'CPU Temp': False, 'Source': 'CPU B DIMM Exit Ambient'},
|
||||
}
|
||||
STATUS_COLORS = {
|
||||
'Passed': 'GREEN',
|
||||
'Aborted': 'YELLOW',
|
||||
'N/A': 'YELLOW',
|
||||
'Skipped': 'YELLOW',
|
||||
'Unknown': 'YELLOW',
|
||||
'Working': 'YELLOW',
|
||||
'Denied': 'RED',
|
||||
'ERROR': 'RED',
|
||||
'Failed': 'RED',
|
||||
'Done': 'CYAN',
|
||||
'Passed': 'GREEN',
|
||||
'Aborted': 'YELLOW',
|
||||
'N/A': 'YELLOW',
|
||||
'Skipped': 'YELLOW',
|
||||
'Unknown': 'YELLOW',
|
||||
'Working': 'YELLOW',
|
||||
'Denied': 'RED',
|
||||
'ERROR': 'RED',
|
||||
'Failed': 'RED',
|
||||
'TimedOut': 'RED',
|
||||
}
|
||||
TEMP_COLORS = {
|
||||
|
|
|
|||
|
|
@ -906,8 +906,12 @@ def post_system_info(state, test_objects, test_mode=False) -> None:
|
|||
# Post to osTicket
|
||||
state.ost.post_response('\n'.join(report))
|
||||
|
||||
# Update test object(s)
|
||||
for test_object in test_objects:
|
||||
test_object.passed = True
|
||||
test_object.set_status('Done')
|
||||
|
||||
# Done
|
||||
test_objects[0].set_status('N/A')
|
||||
state.update_progress_file()
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue