Index: suite_leahi/shared/scripts/configuration/config.py =================================================================== diff -u -rfff245f0d33f43a6e25617fa2d21ec4245c0029a -rb74559d74f32ce4e8e64650272ed849883a376af --- suite_leahi/shared/scripts/configuration/config.py (.../config.py) (revision fff245f0d33f43a6e25617fa2d21ec4245c0029a) +++ suite_leahi/shared/scripts/configuration/config.py (.../config.py) (revision b74559d74f32ce4e8e64650272ed849883a376af) @@ -4,7 +4,6 @@ AUT_NAME = "leahi -k -K -S -q" AUT_NAME_ONLY = "leahi" -AUT_PATH = "/home/denali/Leahi-AUT/leahi" # Configuration application_init.py TMP_DIR = "/tmp/" @@ -19,12 +18,6 @@ EXPORT_LOG_PROGRESS_STATUS = "Service log export to USB in progress ... " SERVICE_SCREEN_TITLE_TEXT = "Service" -# Headerbar_information_popup -INFORMATION_PARAMETERS = [ - "OS Version", "UI Version", "TD Version", "TD FPGA Version", - "TD Serial Number", "DD Version", "DD FPGA Version", "DD Serial Number", -] - #Device Settings Information Version INFORMATION_SCREEN_TITLE_TEXT = "Information" INFORMATION_TITLES = ["Information", "Versions"] Index: suite_leahi/tst_device_settings_information_version/test.py =================================================================== diff -u -rfff245f0d33f43a6e25617fa2d21ec4245c0029a -rb74559d74f32ce4e8e64650272ed849883a376af --- suite_leahi/tst_device_settings_information_version/test.py (.../test.py) (revision fff245f0d33f43a6e25617fa2d21ec4245c0029a) +++ suite_leahi/tst_device_settings_information_version/test.py (.../test.py) (revision b74559d74f32ce4e8e64650272ed849883a376af) @@ -12,6 +12,7 @@ # 6 Set and Compare Information Parameters at their values Beyond the Maximum Allowed # 7 Set and Compare Information Parameters at their values Below the Minimum Allowed +import os import names import subprocess from configuration import config, utility @@ -136,8 +137,8 @@ """ Executes the AUT with the --version argument and captures the output. """ - aut_path = "/home/denali/Leahi-AUT/leahi" - command = [aut_path, "--version"] + actual_aut_path = os.path.join(aut_path, "leahi") + command = [actual_aut_path, "--version"] # Running the command and capturing the output. result = subprocess.run( command, @@ -217,9 +218,10 @@ compatibility_rev = dd_compatibility_rev, ) dd_simulator.dd_serial(dd_serial) + + aut_path = currentApplicationContext().cwd + ui_version = get_aut_version(aut_path) - ui_version = get_aut_version(config.AUT_PATH) - version_details = { "OS Version" : "123.123.123.20230628230011", "UI Version" : ui_version,