mirror of
https://gitee.com/openharmony/testfwk_xdevice
synced 2024-11-30 11:00:37 +00:00
fix code
Signed-off-by: deveco_xdevice <liguangjie1@huawei.com>
This commit is contained in:
parent
cfe26e6e5e
commit
f64699aa78
@ -18,6 +18,7 @@
|
||||
|
||||
import os
|
||||
import re
|
||||
import subprocess
|
||||
import zipfile
|
||||
import stat
|
||||
import time
|
||||
@ -399,7 +400,8 @@ class ShellKit(ITestKit):
|
||||
LOG.info("No teardown-localcommand to run, skipping!")
|
||||
else:
|
||||
for command in self.tear_down_local_command:
|
||||
os.system(command)
|
||||
subprocess.run(command)
|
||||
|
||||
|
||||
@Plugin(type=Plugin.TEST_KIT, id=CKit.wifi)
|
||||
class WifiKit(ITestKit):
|
||||
|
Loading…
Reference in New Issue
Block a user