Index: tst_main_treatment_heparin/test.py =================================================================== diff -u -r8242123c781d022e2c7d9e1d36436ddfde01ffe4 -r8022d2716a79cbb147fa8976606720c566a7b864 --- tst_main_treatment_heparin/test.py (.../test.py) (revision 8242123c781d022e2c7d9e1d36436ddfde01ffe4) +++ tst_main_treatment_heparin/test.py (.../test.py) (revision 8022d2716a79cbb147fa8976606720c566a7b864) @@ -151,7 +151,7 @@ hd_simulator.cmd_set_treatment_states_data(sub_mode= 2, uf_state= 0, saline_state=0, heparin_state= 4, rinseback_state= 0, recirculate_state= 0, blood_prime_state= 0, treatment_end_state=0, treatment_stop_state= 0) - for reason_id in range(1, config.NUM_OF_REJECTION_MSG+1): + for reason_id in range(1, config.NUM_OF_REQUEST_REJECT_REASONS+1): hd_simulator.cmd_set_heparin_pause_resume_response(accepted=0, reason=reason_id, state=2) rejection_msg = waitForObjectExists(utility.rejection_msg(text=config.REJECTION_REASON[reason_id])) test.compare(rejection_msg.text, config.REJECTION_REASON[reason_id], "The rejection message should be {}".format(config.REJECTION_REASON[reason_id]))