提交 a1ef62e7 编写于 作者: L Lukáš Doktor

qemu.tests.multi_disk_random_hotplug: Fix DeviceInsertError location

DeviceInsertError is currently located in qemu_devices.utils.
Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
上级 4c7051f6
...@@ -9,7 +9,7 @@ import time ...@@ -9,7 +9,7 @@ import time
from autotest.client.shared import error from autotest.client.shared import error
from virttest import funcatexit, arch from virttest import funcatexit, arch
from virttest import qemu_qtree, utils_test, env_process from virttest import qemu_qtree, utils_test, env_process
from virttest.qemu_devices import qcontainer from virttest.qemu_devices import utils
def stop_stresser(vm, stop_cmd): def stop_stresser(vm, stop_cmd):
...@@ -154,7 +154,7 @@ def run(test, params, env): ...@@ -154,7 +154,7 @@ def run(test, params, env):
try: try:
for dev in devs: for dev in devs:
qdev.insert(dev) qdev.insert(dev)
except qcontainer.DeviceInsertError: except utils.DeviceInsertError:
# All buses are full, (TODO add bus) or remove this format # All buses are full, (TODO add bus) or remove this format
for dev in devs: for dev in devs:
if dev in qdev: if dev in qdev:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册