Index: suite_leahi/shared/scripts/configuration/config.py =================================================================== diff -u -r75e3ab588237239452761d2ec90e8b3aec6a916b -rfbc172d248cc82326d08b47cfced0eb99a346990 --- suite_leahi/shared/scripts/configuration/config.py (.../config.py) (revision 75e3ab588237239452761d2ec90e8b3aec6a916b) +++ suite_leahi/shared/scripts/configuration/config.py (.../config.py) (revision fbc172d248cc82326d08b47cfced0eb99a346990) @@ -91,4 +91,7 @@ CONFIRM = "CONFIRM" NEXT ="Next" +# Blood Prime +TOTAL_SALINE_DELIVERED = "Total Saline Delivered" +DELIVERING_SALINE = "Delivering Saline" Index: suite_leahi/tst_blood_prime/test.py =================================================================== diff -u -r8e4d215c4b5dde81774657c667171bf95660015c -rfbc172d248cc82326d08b47cfced0eb99a346990 --- suite_leahi/tst_blood_prime/test.py (.../test.py) (revision 8e4d215c4b5dde81774657c667171bf95660015c) +++ suite_leahi/tst_blood_prime/test.py (.../test.py) (revision fbc172d248cc82326d08b47cfced0eb99a346990) @@ -316,8 +316,7 @@ test.startSection( "Verify the Different Saline States, ProgressBar, Start and Stop button" ) - td_interface = TD_Messaging() - can_interface = td_interface.can_interface + can_interface = td_simulator.can_interface global salineBolusStartState # handle sent messages from UI @@ -332,7 +331,7 @@ salineTextObj = waitForObject(names.o_TreatmentBloodPrime_salineDescriptionText) test.compare( salineTextObj.text, - "Total Saline Delivered", + config.TOTAL_SALINE_DELIVERED, "Testing 'Total Saline Delivered' text", ) @@ -366,13 +365,13 @@ # verify text test.compare( salineTextObj.text, - "Delivering Saline", + config.DELIVERING_SALINE, "Testing Saline Description text", ) # verify saline data bolusValueInTest = 75 - td_interface.td_saline( + td_simulator.td_saline( 100, # target_volume 150, # cumulative_volume bolusValueInTest, # bolus_volume @@ -405,7 +404,7 @@ ) # change state to idle - td_interface.td_tx_state( + td_simulator.td_tx_state( TDTreatmentStates.TREATMENT_BLOOD_PRIME_STATE.value, 0, 0,