[TC Fixed] Changed the key value to get device type (#317)
author최종헌/Common Platform Lab(SR)/Engineer/삼성전자 <j-h.choi@samsung.com>
Tue, 12 Jan 2021 01:28:36 +0000 (10:28 +0900)
committer이형주/Common Platform Lab(SR)/Staff Engineer/삼성전자 <leee.lee@samsung.com>
Tue, 12 Jan 2021 01:28:36 +0000 (10:28 +0900)
Change-Id: I2ea128f2bd9608cdfe221597bab8960a1c4b3f8f

tests/TCs/Utils.py

index f6a3572..60eb979 100755 (executable)
@@ -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