未验证 提交 1175e5ab 编写于 作者: O openharmony_ci 提交者: Gitee

!73 【轻量级 PR】:update src/xdevice/_core/testkit/kit_lite.py.

Merge pull request !73 from 余明星/N/A
......@@ -348,6 +348,11 @@ class MountKit(ITestKit):
# local copy
else:
for count in range(1, 4):
try:
os.remove(os.path.join(remote_info.get("dir"),
os.path.basename(_file)))
except Exception as _:
pass
shutil.copy(_file, remote_info.get("dir"))
if check_server_file(_file, remote_info.get("dir")):
break
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册