Index: tst_ui_logs/test.py =================================================================== diff -u -r4dd19cf5f01945b49c3abbd640a3c635248f8858 -r6bb43117bca2673c5de877f5b70b094da344418a --- tst_ui_logs/test.py (.../test.py) (revision 4dd19cf5f01945b49c3abbd640a3c635248f8858) +++ tst_ui_logs/test.py (.../test.py) (revision 6bb43117bca2673c5de877f5b70b094da344418a) @@ -29,7 +29,7 @@ from configuration import utility from configuration import config from dialin.common.msg_ids import MsgIds -from dialin.common.hd_defs import HDOpSubModes, HDOpModes +from dialin.common.hd_defs import HDStandbyStates, HDOpModes from dialin.common import msg_defs from dialin.utils.conversions import integer_to_bytearray, float_to_bytearray, short_to_bytearray, unsigned_integer_to_bytearray, integer_to_bit_array, unsigned_short_to_bytearray, unsigned_byte_to_bytearray @@ -244,7 +244,7 @@ #HD Operation Mode #0x2500 mode_data = HDOpModes.NUM_OF_MODES.value - submode_data = HDOpSubModes.NUM_OF_STANDBY_STATES.value + submode_data = HDStandbyStates.NUM_OF_STANDBY_STATES.value for mode in range(mode_data): for sub_mode in range(submode_data): hd_simulator.cmd_send_hd_operation_mode(op_mode = mode, sub_mode = sub_mode) @@ -273,7 +273,7 @@ verify_log(msg_id=MsgIds.MSG_ID_HD_POST_TREATMENT_STATE.value, msg="PostTreatmentStates") #0x7E00 - standby_mode_data = HDOpSubModes.STANDBY_WAIT_FOR_DISINFECT_STATE.value + standby_mode_data = HDStandbyStates.STANDBY_WAIT_FOR_DISINFECT_STATE.value for standby_mode in range(standby_mode_data): hd_simulator.cmd_send_hd_general_response(message_id=126, accepted=1, reason=1, is_pure_data=False, has_parameters=True, parameters_payload=payload) hd_simulator.cmd_send_hd_general_response(message_id=126, accepted=0, reason=0, is_pure_data=False, has_parameters=True, parameters_payload=payload)