提交 7464379e 编写于 作者: A alex_hold 提交者: Gitee

update extension/src/xdevice_extension/_core/testkit/kit.py.

Signed-off-by: <hejian3@huawei.com>
上级 6aa218b6
......@@ -592,7 +592,7 @@ class AppInstallKit(ITestKit):
if app_name:
result = device.uninstall_package(app_name)
if not result.startswith("Success"):
if not result or not result.startswith("Success"):
LOG.warning("error uninstalling package %s %s" %
(device.__get_serial__(), result))
else:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册