mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-01 23:03:54 -06:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue