From: j-h.choi Date: Wed, 13 Jan 2021 04:49:01 +0000 (+0900) Subject: [TC Fixed] Delete the .tpk file used for the test X-Git-Tag: accepted/tizen/unified/20210125.073655~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=50b5aae26258313c56b5a63354e1435de89d6486;p=platform%2Fcore%2Fdotnet%2Flauncher.git [TC Fixed] Delete the .tpk file used for the test Change-Id: I9ff999bb3b21b702f7bfcb1179cab73074e3850c --- diff --git a/tests/TCs/Utils.py b/tests/TCs/Utils.py index 60eb979..6babbb6 100755 --- a/tests/TCs/Utils.py +++ b/tests/TCs/Utils.py @@ -82,7 +82,10 @@ def app_install(tpk_path): tpk_name = Path(tpk_path).name raw = cmd(f"shell pkgcmd -i -t tpk -p {OWNER_DIR}{tpk_name}") if "key[end] val[ok]" not in raw: + cmd(f"shell rm {OWNER_DIR}{tpk_name}") return "FAIL" + + cmd(f"shell rm {OWNER_DIR}{tpk_name}") return "OK" # Get the root path of the application