diff --git a/scripts/wk/cfg/hw.py b/scripts/wk/cfg/hw.py index 94bde4c5..64d1f333 100644 --- a/scripts/wk/cfg/hw.py +++ b/scripts/wk/cfg/hw.py @@ -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 = { diff --git a/scripts/wk/hw/diags.py b/scripts/wk/hw/diags.py index 27a7f7c2..caef5f4d 100644 --- a/scripts/wk/hw/diags.py +++ b/scripts/wk/hw/diags.py @@ -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()