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>
This commit is contained in:
parent
d8c2e47dbe
commit
b90d7a18b6
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user