Index: shared/scripts/configuration/utility.py =================================================================== diff -u -r0c2ceabc7a0a2270006f1a210be811658d849c4c -rf8943fd4831755c59de02301e92eed5e2dc6eee5 --- shared/scripts/configuration/utility.py (.../utility.py) (revision 0c2ceabc7a0a2270006f1a210be811658d849c4c) +++ shared/scripts/configuration/utility.py (.../utility.py) (revision f8943fd4831755c59de02301e92eed5e2dc6eee5) @@ -25,9 +25,6 @@ from configuration import config from dialin.ui.hd_simulator import HDSimulator - -hd = HDSimulator() - def start_application(app_name): """ @@ -46,28 +43,26 @@ test.log("Starting {}".format(app_name)) squish.startApplication(app_name) if counter == 1: - test.log(f"Application launched at the {counter}'st try.") + test.log("Application launched at the "+str(counter)+" st try.") elif counter == 2: - test.log(f"Application launched at the {counter}'nd try.") + test.log("Application launched at the "+str(counter)+" nd try.") elif counter == 3: - test.log(f"Application launched at the {counter}'rd try.") + test.log("Application launched at the "+str(counter)+" rd try.") else: - test.log(f"Application launched at the {counter}'th try.") + test.log("Application launched at the "+str(counter)+" th try.") break except RuntimeError: if counter == 1: - test.log(f"Application failed to launch after {counter} try - Please refer logs") + test.log("Application failed to launch after "+str(counter)+" try - Please refer logs") elif counter == 20: - test.log(f"Exiting after {counter} tries..") + test.log("Exiting after "+str(counter)+ " tries..") sys.exit(1) else: - test.log(f"Application failed to launch after {counter} tries - Please refer logs") + test.log("Application failed to launch after "+str(counter)+ " tries - Please refer logs") except: test.log("Failed to start the application") sys.exit(1) - - def check_if_object_is_within_the_container(obj=None, container=None): """ check if an object is inside a container @@ -90,7 +85,6 @@ return True return False - def scroll_to_zone(zone=None, screen_object=None): """