提交 5bb3e750 编写于 作者: O openharmony_ci 提交者: Gitee

!29 修复卸载hap返回none报错问题

Merge pull request !29 from alex_hold/master
......@@ -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.
先完成此消息的编辑!
想要评论请 注册