mirror of
https://github.com/Motorhead1991/qemu.git
synced 2026-01-05 22:17:40 -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:
parent
c5339030e6
commit
39995e2126
1 changed files with 1 additions and 2 deletions
|
|
@ -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'''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue