Index: tst_post/test.py =================================================================== diff -u -r53ce67a03db14c036e3134627621be58715eb17f -rf8943fd4831755c59de02301e92eed5e2dc6eee5 --- tst_post/test.py (.../test.py) (revision 53ce67a03db14c036e3134627621be58715eb17f) +++ tst_post/test.py (.../test.py) (revision f8943fd4831755c59de02301e92eed5e2dc6eee5) @@ -14,37 +14,19 @@ import names -# from time import sleep -from dialin.ui import utils -# from dialin.ui import unittests -from builtins import int as pyInt -from configuration.assertion_helper import * +from time import sleep +from dialin.ui import utils +from dialin.ui import unittests from dialin.ui.hd_simulator import HDSimulator -# from dialin.ui.dg_simulator import DGSimulator -# from dialin.ui.hd_simulator_alarms import HDAlarmsSimulator + MSGS_AND_CONDITIONS = { 5: [True, False], 10: [True, False], 2: [True, False], 18: [True, True], 7: [False, True], } - -assertion = AssertionHelper() + hd = HDSimulator() -#dg = DGSimulator() -def get_progress(): - """ - Method to obtain progress - @return: Progress value - """ - progress_bar = object.parent(waitForObjectExists(names.progress_bar)) - progress_bar_children = object.children(progress_bar) - progress_bar_val_parent = progress_bar_children[3] - progress_bar_val_parents_children = object.children(progress_bar_val_parent) - progress_bar_val = progress_bar_val_parents_children[1] - return progress_bar_val.text.toUtf8().constData() - - def verify_the_progress(value, final_msg_posted) -> None: """ Method to verify the progress