Index: tst_Treatment_Adjustment_Saline/test.py =================================================================== diff -u -rbefca1db0402e031a5b692aa93dc74bfb314eb9e -r24485172848ae32d15cf665b2ef024129dec6ca2 --- tst_Treatment_Adjustment_Saline/test.py (.../test.py) (revision befca1db0402e031a5b692aa93dc74bfb314eb9e) +++ tst_Treatment_Adjustment_Saline/test.py (.../test.py) (revision 24485172848ae32d15cf665b2ef024129dec6ca2) @@ -16,7 +16,7 @@ import names from dialin.squish import utils, denaliMessages from dialin.squish.denaliMessages import txStates -from dialin.squish.denaliMessages import rejectReason +from dialin.common.msg_defs import RequestRejectReasons as rejectReason def gotoScreenNtest_Contains_TreatmentSalineBolusData(): @@ -37,7 +37,7 @@ def test_state(vAccept, vText, vState): mReason = 0 - if (not vAccept): mReason = rejectReason.REQUEST_REJECT_REASON_SALINE_BOLUS_IN_PROGRESS + if (not vAccept): mReason = rejectReason.REQUEST_REJECT_REASON_SALINE_BOLUS_IN_PROGRESS.value mouseClick(waitForObject(names.o_treatmentStart_SalineStart)) # when rejected reason set 16 # although rejected value has been sent to check UI only looks for Accept field