From 8fae9bfb496030fdd4ca6e10d63fa3581f2c1c8f Mon Sep 17 00:00:00 2001 From: =?utf8?q?=EC=B5=9C=EC=A2=85=ED=97=8C/Common=20Platform=20Lab=28SR=29?= =?utf8?q?/Engineer/=EC=82=BC=EC=84=B1=EC=A0=84=EC=9E=90?= Date: Tue, 12 Jan 2021 10:28:36 +0900 Subject: [PATCH] [TC Fixed] Changed the key value to get device type (#317) Change-Id: I2ea128f2bd9608cdfe221597bab8960a1c4b3f8f --- tests/TCs/Utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/TCs/Utils.py b/tests/TCs/Utils.py index f6a3572..60eb979 100755 --- a/tests/TCs/Utils.py +++ b/tests/TCs/Utils.py @@ -103,7 +103,7 @@ def launch_and_get_pid(mode, app_id): # Get the device type def get_device_type(): - raw = cmd(f"shell cat /etc/config/model-config.xml | grep tizen.org/system/device_type") + raw = cmd(f"shell cat /etc/config/model-config.xml | grep tizen.org/feature/profile") return raw.split(">")[1].split("<")[0] # Create the System.Private.CoreLib native image -- 2.7.4