Index: tst_Treatment_Adjustment_Pressures/test.py =================================================================== diff -u -r80181d382e841f6e66c8f0ad85d1c78e6856cfde -rcea6eac6a05f57e3317b45762a470eb18b314ab3 --- tst_Treatment_Adjustment_Pressures/test.py (.../test.py) (revision 80181d382e841f6e66c8f0ad85d1c78e6856cfde) +++ tst_Treatment_Adjustment_Pressures/test.py (.../test.py) (revision cea6eac6a05f57e3317b45762a470eb18b314ab3) @@ -16,7 +16,7 @@ from dialin.ui import utils, HDSimulator import names -HDSimulator = HDSimulator() +hd_sim = HDSimulator() inrangeColor = "#ffffff" @@ -63,7 +63,7 @@ """ Checks the Pressures Values on each parameter change passed to the function """ - HDSimulator.cmd_set_pressure_occlusion_data(vArterial, vVenous, 0, 0, 0) + hd_sim.cmd_set_pressure_occlusion_data(vArterial, vVenous, 0, 0, 0) arterial_value = waitForObjectExists(names.o_arterial_marker ).value venous_value = waitForObjectExists(names.o_venous_marker ).value @@ -119,7 +119,7 @@ # arterial constants shall never change regarding the PRS # it has to be set to reject otherwise the dialog is closed. # the accept and dialog close has been tested somewhere else. - HDSimulator.cmd_send_treatment_adjust_pressures_limit_response(False, 0, vArterialLow, vArterialHigh, vVenousLow, vVenousHigh) + hd_sim.cmd_send_treatment_adjust_pressures_limit_response(False, 0, vArterialLow, vArterialHigh, vVenousLow, vVenousHigh) test_pressure_limits(vArterialLow, vArterialHigh, vVenousLow, vVenousHigh) @@ -132,7 +132,7 @@ venousLow = Ranges.VENOUS_PRESSURE_LOW_DEF venousHigh = Ranges.VENOUS_PRESSURE_HIGH_DEF test.compare(waitForObjectExists(names.o_treatmentAdjustmentPressures_Screen).visible, True) - HDSimulator.cmd_send_treatment_adjust_pressures_limit_response( + hd_sim.cmd_send_treatment_adjust_pressures_limit_response( True, 0, arterialLow , arterialHigh ,