aboutsummaryrefslogtreecommitdiff
path: root/tests/qemu-iotests/iotests.py
diff options
context:
space:
mode:
authorVladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>2023-10-06 18:41:22 +0300
committerJohn Snow <jsnow@redhat.com>2023-10-12 14:21:44 -0400
commit39995e21261d19e44db00e0ebce2c5616703b29a (patch)
treedc9801a2017731810569a121ed35fb60c792dfa2 /tests/qemu-iotests/iotests.py
parentc5339030e64781bf8f0d80ab7c5044b5547df79b (diff)
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>
Diffstat (limited to 'tests/qemu-iotests/iotests.py')
-rw-r--r--tests/qemu-iotests/iotests.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/qemu-iotests/iotests.py b/tests/qemu-iotests/iotests.py
index ee7b6ddeff..f43814e802 100644
--- a/tests/qemu-iotests/iotests.py
+++ b/tests/qemu-iotests/iotests.py
@@ -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'''