提交 32f09170 编写于 作者: A alex_hold

fixed bf78ff12 from https://gitee.com/alex__hold/test_xdevice/pulls/58

update extension/src/xdevice_extension/_core/driver/drivers.py.
Signed-off-by:<hejian3@huawei.com>
上级 cdcae7f4
...@@ -1684,7 +1684,8 @@ class JSUnitTestDriver(IDriver): ...@@ -1684,7 +1684,8 @@ class JSUnitTestDriver(IDriver):
% (ability_name, package) % (ability_name, package)
result_value = self.config.device.hdc_command(command) result_value = self.config.device.hdc_command(command)
if result_value and "success" in str(result_value).lower(): if result_value and "start ability successfully" in\
str(result_value).lower():
setattr(self, "start_success", True) setattr(self, "start_success", True)
LOG.info("execute %s's testcase success. result value=%s" LOG.info("execute %s's testcase success. result value=%s"
% (package, result_value)) % (package, result_value))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册