summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHanna Reitz2021-09-02 11:40:16 +0200
committerHanna Reitz2021-09-15 15:54:07 +0200
commitb90d7a18b615be1e521ee5bf99c816a45099a29b (patch)
tree5b742dbf7fd65286feb7f8283ee65573e34fea64
parentmigrate-bitmaps-test: Fix pylint warnings (diff)
downloadqemu-b90d7a18b615be1e521ee5bf99c816a45099a29b.tar.gz
qemu-b90d7a18b615be1e521ee5bf99c816a45099a29b.tar.xz
qemu-b90d7a18b615be1e521ee5bf99c816a45099a29b.zip
mirror-top-perms: Fix AbnormalShutdown path
The AbnormalShutdown exception class is not in qemu.machine, but in qemu.machine.machine. (qemu.machine.AbnormalShutdown was enough for Python to find it in order to run this test, but pylint complains about it.) Signed-off-by: Hanna Reitz <hreitz@redhat.com> Message-Id: <20210902094017.32902-5-hreitz@redhat.com> Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
-rwxr-xr-xtests/qemu-iotests/tests/mirror-top-perms2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qemu-iotests/tests/mirror-top-perms b/tests/qemu-iotests/tests/mirror-top-perms
index 451a0666f8..2fc8dd66e0 100755
--- a/tests/qemu-iotests/tests/mirror-top-perms
+++ b/tests/qemu-iotests/tests/mirror-top-perms
@@ -47,7 +47,7 @@ class TestMirrorTopPerms(iotests.QMPTestCase):
def tearDown(self):
try:
self.vm.shutdown()
- except qemu.machine.AbnormalShutdown:
+ except qemu.machine.machine.AbnormalShutdown:
pass
if self.vm_b is not None: