Index: shared/scripts/configuration/utility.py =================================================================== diff -u -r832ebd77e926ca21aba6b238ef0b329acb7c7288 -rb76168fc569d728ca477cda73be916f58a6295ae --- shared/scripts/configuration/utility.py (.../utility.py) (revision 832ebd77e926ca21aba6b238ef0b329acb7c7288) +++ shared/scripts/configuration/utility.py (.../utility.py) (revision b76168fc569d728ca477cda73be916f58a6295ae) @@ -554,8 +554,7 @@ def rejection_msg(text): names.o_rejection_msg["text"] = text return names.o_rejection_msg - - + def verify_page_step_indicator(screen_obj, pre_treatment_step): """ Method to verify the Page Step indicators [the object on top of the screen which indicates the steps passed, current, remained] @@ -825,9 +824,7 @@ raise LookupError("value object is not in view to the user after " + \ "trying 100 times") -def expected_heparin_value(val): - names.o_heparin_value["text"] = val - return names + def msg(string): """ Added ### at the right side of the string to make sure that it is a message. @@ -837,6 +834,7 @@ padded_str = "###"+string return padded_str + def msg(string): """ Added ### at the right side of the string to make sure that it is a message. @@ -846,6 +844,7 @@ padded_str = "###"+string return padded_str + def navigate_to_pretreatment_screen(mode): """ Method to navigate to sub mode under pre-treatment screen @@ -1197,4 +1196,7 @@ min_and_sec = time.strftime(format, time.gmtime(seconds)) return min_and_sec +def expected_heparin_value(val): + names.o_heparin_value["text"] = val + return names.o_heparin_value