From: 최종헌/Common Platform Lab(SR)/Engineer/삼성전자 Date: Tue, 12 Jan 2021 01:28:36 +0000 (+0900) Subject: [TC Fixed] Changed the key value to get device type (#317) X-Git-Tag: submit/tizen/20210125.003944~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8fae9bfb496030fdd4ca6e10d63fa3581f2c1c8f;p=platform%2Fcore%2Fdotnet%2Flauncher.git [TC Fixed] Changed the key value to get device type (#317) Change-Id: I2ea128f2bd9608cdfe221597bab8960a1c4b3f8f --- 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