Index: tst_Treatment_BloodDialysateFlowRate/test.py =================================================================== diff -u -r867655840cada2d79fa5028c8fab68516ea59673 -rcea6eac6a05f57e3317b45762a470eb18b314ab3 --- tst_Treatment_BloodDialysateFlowRate/test.py (.../test.py) (revision 867655840cada2d79fa5028c8fab68516ea59673) +++ tst_Treatment_BloodDialysateFlowRate/test.py (.../test.py) (revision cea6eac6a05f57e3317b45762a470eb18b314ab3) @@ -15,7 +15,7 @@ import names from dialin.ui import utils from dialin import HDSimulator -HDSimulator = HDSimulator() +hd_sim = HDSimulator() def gotoScreenNtest_Contains_FlowsSection(): @@ -33,49 +33,49 @@ test.compare(str(waitForObjectExists(names.o_treatmentStart_flowsTouchArea_TreatmentFlows).bloodFlowSetPoint), "0") - HDSimulator.cmd_set_treatment_blood_flow_rate(125, 0, 0, 0, 0, 0, 0) # coverage - HDSimulator.cmd_set_treatment_blood_flow_rate(125, 0, 0, 0, 0, 0, 0) + hd_sim.cmd_set_treatment_blood_flow_rate(125, 0, 0, 0, 0, 0, 0) # coverage + hd_sim.cmd_set_treatment_blood_flow_rate(125, 0, 0, 0, 0, 0, 0) test.compare(str(waitForObjectExists(names.o_treatmentStart_flowsTouchArea_TreatmentFlows).bloodFlowSetPoint), "125") test.compare(str(waitForObjectExists(names.o_treatmentStart_flowsTouchArea_TreatmentFlows).dialysateFlowSetPoint), "0") - HDSimulator.cmd_set_treatment_blood_flow_rate(175, 1, 1, 1, 1, 1, 1) + hd_sim.cmd_set_treatment_blood_flow_rate(175, 1, 1, 1, 1, 1, 1) test.compare(str(waitForObjectExists(names.o_treatmentStart_flowsTouchArea_TreatmentFlows).bloodFlowSetPoint), "175") - HDSimulator.cmd_set_treatment_dialysate_flow_rate(145, 1.45, 1.45, 1.45, 1.45, 1.45, 1.45) + hd_sim.cmd_set_treatment_dialysate_flow_rate(145, 1.45, 1.45, 1.45, 1.45, 1.45, 1.45) test.compare(str(waitForObjectExists(names.o_treatmentStart_flowsTouchArea_TreatmentFlows).dialysateFlowSetPoint), "145") - HDSimulator.cmd_set_treatment_blood_flow_rate(150, 1, 1, 1, 1, 1, 1) + hd_sim.cmd_set_treatment_blood_flow_rate(150, 1, 1, 1, 1, 1, 1) test.compare(str(waitForObjectExists(names.o_treatmentStart_flowsTouchArea_TreatmentFlows).bloodFlowSetPoint), "150") - HDSimulator.cmd_set_treatment_dialysate_flow_rate(125, 1.25, 1.25, 1.25, 1.25, 1.25, 1.25) + hd_sim.cmd_set_treatment_dialysate_flow_rate(125, 1.25, 1.25, 1.25, 1.25, 1.25, 1.25) test.compare(str(waitForObjectExists(names.o_treatmentStart_flowsTouchArea_TreatmentFlows).dialysateFlowSetPoint), "125") - HDSimulator.cmd_set_treatment_blood_flow_rate(200, 1, 1, 1, 1, 1, 1) + hd_sim.cmd_set_treatment_blood_flow_rate(200, 1, 1, 1, 1, 1, 1) test.compare(str(waitForObjectExists(names.o_treatmentStart_flowsTouchArea_TreatmentFlows).bloodFlowSetPoint), "200") - HDSimulator.cmd_set_treatment_dialysate_flow_rate(125, 1.25, 1.25, 1.25, 1.25, 1.25, 1.25) + hd_sim.cmd_set_treatment_dialysate_flow_rate(125, 1.25, 1.25, 1.25, 1.25, 1.25, 1.25) test.compare(str(waitForObjectExists(names.o_treatmentStart_flowsTouchArea_TreatmentFlows).dialysateFlowSetPoint), "125") - HDSimulator.cmd_set_treatment_blood_flow_rate(250, 1, 1, 1, 1, 1, 1) + hd_sim.cmd_set_treatment_blood_flow_rate(250, 1, 1, 1, 1, 1, 1) test.compare(str(waitForObjectExists(names.o_treatmentStart_flowsTouchArea_TreatmentFlows).bloodFlowSetPoint), "250") - HDSimulator.cmd_set_treatment_dialysate_flow_rate(145, 1.45, 1.45, 1.45, 1.45, 1.45, 1.45) + hd_sim.cmd_set_treatment_dialysate_flow_rate(145, 1.45, 1.45, 1.45, 1.45, 1.45, 1.45) test.compare(str(waitForObjectExists(names.o_treatmentStart_flowsTouchArea_TreatmentFlows).dialysateFlowSetPoint), "145") - HDSimulator.cmd_set_treatment_blood_flow_rate(275, 1, 1, 1, 1, 1, 1) + hd_sim.cmd_set_treatment_blood_flow_rate(275, 1, 1, 1, 1, 1, 1) test.compare(str(waitForObjectExists(names.o_treatmentStart_flowsTouchArea_TreatmentFlows).bloodFlowSetPoint), "275") - HDSimulator.cmd_set_treatment_dialysate_flow_rate(145, 1.45, 1.45, 1.45, 1.45, 1.45, 1.45) + hd_sim.cmd_set_treatment_dialysate_flow_rate(145, 1.45, 1.45, 1.45, 1.45, 1.45, 1.45) test.compare(str(waitForObjectExists(names.o_treatmentStart_flowsTouchArea_TreatmentFlows).dialysateFlowSetPoint), "145") - HDSimulator.cmd_set_treatment_blood_flow_rate(300, 1, 1, 1, 1, 1, 1) + hd_sim.cmd_set_treatment_blood_flow_rate(300, 1, 1, 1, 1, 1, 1) test.compare(str(waitForObjectExists(names.o_treatmentStart_flowsTouchArea_TreatmentFlows).bloodFlowSetPoint), "300") - HDSimulator.cmd_set_treatment_dialysate_flow_rate(155, 1.55, 1.55, 1.55, 1.55, 1.55, 1.55) + hd_sim.cmd_set_treatment_dialysate_flow_rate(155, 1.55, 1.55, 1.55, 1.55, 1.55, 1.55) test.compare(str(waitForObjectExists(names.o_treatmentStart_flowsTouchArea_TreatmentFlows).dialysateFlowSetPoint), "155") - HDSimulator.cmd_set_treatment_blood_flow_rate(350, 1, 1, 1, 1, 1, 1) + hd_sim.cmd_set_treatment_blood_flow_rate(350, 1, 1, 1, 1, 1, 1) test.compare(str(waitForObjectExists(names.o_treatmentStart_flowsTouchArea_TreatmentFlows).bloodFlowSetPoint), "350") utils.tstDone() \ No newline at end of file