未验证 提交 c78908ae 编写于 作者: X Xu Han 提交者: GitHub

Merge pull request #1279 from MalleshKoti/nic_promisc

nic_promisc.py: removing autotest dependency.
import logging
import os
from autotest.client import utils
from autotest.client.shared import error
from virttest import utils_misc
from virttest import utils_test
from virttest import utils_net
from virttest import error_context as error
@error.context_aware
......@@ -44,8 +43,8 @@ def run(test, params, env):
vm.copy_files_to(script_path, "C:\\")
try:
transfer_thread = utils.InterruptedThread(utils_test.run_file_transfer,
(test, params, env))
transfer_thread = utils_misc.InterruptedThread(
utils_test.run_file_transfer, (test, params, env))
error.context("Run utils_test.file_transfer ...", logging.info)
transfer_thread.start()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册