Index: tst_ConfirmPrimingBegin/test.py =================================================================== diff -u -rbf7d91658db65553a07d14eb2cd923c19ec7283b -r63891f4a0b2f174cd10bdd99eb7717158f6fa80b --- tst_ConfirmPrimingBegin/test.py (.../test.py) (revision bf7d91658db65553a07d14eb2cd923c19ec7283b) +++ tst_ConfirmPrimingBegin/test.py (.../test.py) (revision 63891f4a0b2f174cd10bdd99eb7717158f6fa80b) @@ -7,27 +7,14 @@ from time import sleep def skip_create_treatment(hd_simulator: HDSimulator): - rejections = [ - RequestRejectReasons.REQUEST_REJECT_REASON_NONE, # requestValid - RequestRejectReasons.REQUEST_REJECT_REASON_NONE, # bloodFlowRate - RequestRejectReasons.REQUEST_REJECT_REASON_NONE, # dialysateFlowRate - RequestRejectReasons.REQUEST_REJECT_REASON_NONE, # duration - RequestRejectReasons.REQUEST_REJECT_REASON_NONE, # heparinStopTime - RequestRejectReasons.REQUEST_REJECT_REASON_NONE, # salineBolus - RequestRejectReasons.REQUEST_REJECT_REASON_NONE, # acidConcentrate - RequestRejectReasons.REQUEST_REJECT_REASON_NONE, # bicarbonateConcentrate - RequestRejectReasons.REQUEST_REJECT_REASON_NONE, # dialyzerType - RequestRejectReasons.REQUEST_REJECT_REASON_NONE, # bloodPressureMeasureInterval - RequestRejectReasons.REQUEST_REJECT_REASON_NONE, # rinsebackFlowRate - RequestRejectReasons.REQUEST_REJECT_REASON_NONE, # arterialPressureLimitLow - RequestRejectReasons.REQUEST_REJECT_REASON_NONE, # arterialPressureLimitHigh - RequestRejectReasons.REQUEST_REJECT_REASON_NONE, # venousPressureLimitLow - RequestRejectReasons.REQUEST_REJECT_REASON_NONE, # venousPressureLimitHigh - RequestRejectReasons.REQUEST_REJECT_REASON_NONE, # heparinDispensingRate - RequestRejectReasons.REQUEST_REJECT_REASON_NONE, # heparinBolusVolume - RequestRejectReasons.REQUEST_REJECT_REASON_NONE, # dialysateTemp - ] - + """ + Tells the UI that the treatment parameters are valid. Effectively skips past + the create treatment screen for parameter selection and validation + + @param hd_simulator: the HDSimulator object + @return: None + """ + rejections = [ RequestRejectReasons.REQUEST_REJECT_REASON_NONE for _ in range(18)] hd_simulator.cmd_send_treatment_parameter_validation_response(rejections) def test_confirm_priming_begin(hd_simulator: HDSimulator):