Signed-off-by: deveco_xdevice <liguangjie1@huawei.com>
This commit is contained in:
deveco_xdevice 2022-11-24 15:11:25 +08:00
parent cfe26e6e5e
commit f64699aa78

View File

@ -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):