mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
iotests.py: pause_job(): drop return value
The returned value is unused. It's simple to check by command
git grep -B 3 '\.pause_job('
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-id: 20231006154125.1068348-13-vsementsov@yandex-team.ru
Signed-off-by: John Snow <jsnow@redhat.com>
This commit is contained in:
committed by
John Snow
parent
c5339030e6
commit
39995e2126
@@ -1338,8 +1338,7 @@ class QMPTestCase(unittest.TestCase):
|
||||
result = self.vm.qmp('block-job-pause', device=job_id)
|
||||
self.assert_qmp(result, 'return', {})
|
||||
if wait:
|
||||
return self.pause_wait(job_id)
|
||||
return result
|
||||
self.pause_wait(job_id)
|
||||
|
||||
def case_skip(self, reason):
|
||||
'''Skip this test case'''
|
||||
|
||||
Reference in New Issue
Block a user