Index: tst_Treatment_Adjustment_Heparin/test.py =================================================================== diff -u -r91e0fc7ff1a05af0ba299e45ef7dae1a79b45bc1 -r80181d382e841f6e66c8f0ad85d1c78e6856cfde --- tst_Treatment_Adjustment_Heparin/test.py (.../test.py) (revision 91e0fc7ff1a05af0ba299e45ef7dae1a79b45bc1) +++ tst_Treatment_Adjustment_Heparin/test.py (.../test.py) (revision 80181d382e841f6e66c8f0ad85d1c78e6856cfde) @@ -34,7 +34,7 @@ def test_state(vAccept, vText, vState): mReason = 0 if (not vAccept): mReason = rejectReason.REQUEST_REJECT_REASON_HEPARIN_PRESTOP_EXCEEDS_DURATION.value - HDSimulator.setHeparinResponse(vAccept, mReason, vState) + HDSimulator.cmd_set_heparin_pause_resume_response(vAccept, mReason, vState) utils.waitForGUI(0.2) heparin_button = findObject(names.o_treatmentStart_HeparinPause) # heparin button is not always enable for click @@ -58,7 +58,7 @@ gotoScreenNtest_Contains_TreatmentHeparinData() # set the Treatment to running state, otherwise the heparin section will be disabled. - HDSimulator.setTreatmentStatesData(TXStates.TREATMENT_DIALYSIS_STATE, TXStates.UF_OFF_STATE, TXStates.SALINE_BOLUS_STATE_IDLE, TXStates.HEPARIN_STATE_OFF) + HDSimulator.cmd_set_treatment_states_data(TXStates.TREATMENT_DIALYSIS_STATE, TXStates.UF_OFF_STATE, TXStates.SALINE_BOLUS_STATE_IDLE, TXStates.HEPARIN_STATE_OFF) # it is not working upon user request so there is not rejection # Initial OFF => BOLUS -> Bolus/HEPARIN