提交 d7428161 编写于 作者: C Cong Li

qemu_guest_agent_snapshot: update class name which has been changed in live_snapshot_basic.

Based on e11f1609Signed-off-by: NCong Li <coli@redhat.com>
上级 e545bafd
......@@ -5,7 +5,7 @@ from autotest.client.shared import error
from virttest import utils_misc
from qemu.tests.live_snapshot_basic import LiveSnapshotBase
from qemu.tests.live_snapshot_basic import LiveSnapshot
from qemu.tests.qemu_guest_agent import QemuGuestAgentBasicCheck
......@@ -36,7 +36,8 @@ class QemuGuestAgentSnapshotTest(QemuGuestAgentBasicCheck):
if self.bg.isAlive():
image_tag = self.params.get("image_name", "image1")
image_params = self.params.object_params(image_tag)
snapshot_test = LiveSnapshotBase(image_params, self.env)
snapshot_test = LiveSnapshot(self.test, self.params,
self.env, image_tag)
error.context("Creating snapshot", logging.info)
snapshot_test.create_snapshot()
error.context("Checking snapshot created successfully",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册