Index: suite_leahi/shared/scripts/configuration/utility.py =================================================================== diff -u -r294e8182b09559871bbb41e3792b14489b603047 -r2d57ccb6d19e9fda0a30ee78e25a4aea0414ff97 --- suite_leahi/shared/scripts/configuration/utility.py (.../utility.py) (revision 294e8182b09559871bbb41e3792b14489b603047) +++ suite_leahi/shared/scripts/configuration/utility.py (.../utility.py) (revision 2d57ccb6d19e9fda0a30ee78e25a4aea0414ff97) @@ -1,34 +1,5 @@ -########################################################################### -# -# Copyright (c) 2019-2021 Diality Inc. - All Rights Reserved. -# -# THIS CODE MAY NOT BE COPIED OR REPRODUCED IN ANY FORM, IN PART OR IN -# WHOLE, WITHOUT THE EXPLICIT PERMISSION OF THE COPYRIGHT OWNER. -# -# @file utils.py - -# @author (last) LTTS -# @date (last) 15-Jan-2022 -# -############################################################################ -import csv -import glob -import names -import object import squish -import shutil -import test -import re -import builtins -from builtins import format -from builtins import str as pyStr -from builtins import int as pyInt -from leahi_dialin.ui import utils -from leahi_dialin.utils import * -from datetime import timezone -from datetime import datetime - def get_object_from_names(names_dict, error_message = "Missing object", timeout_ms = 200): """ To get an object with try..except catching to prevent script errors when the object is not found on the GUI @@ -40,8 +11,4 @@ except LookupError: test.fail("ERROR : " + error_message) return None - -def pressure_text_obj(text): - names.pressure_text_obj["text"] = text - return names.pressure_text_obj \ No newline at end of file