aboutsummaryrefslogtreecommitdiff
path: root/tests/qemu-iotests/295
diff options
context:
space:
mode:
authorVladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>2023-10-06 18:41:21 +0300
committerJohn Snow <jsnow@redhat.com>2023-10-12 14:21:44 -0400
commitc5339030e64781bf8f0d80ab7c5044b5547df79b (patch)
tree7c93fdbbd6949308ce7bd6ceb8fded5de39265bd /tests/qemu-iotests/295
parent1ada73fbea540c9b397b08da6f1110fced1c0840 (diff)
downloadqemu-c5339030e64781bf8f0d80ab7c5044b5547df79b.zip
qemu-c5339030e64781bf8f0d80ab7c5044b5547df79b.tar.gz
qemu-c5339030e64781bf8f0d80ab7c5044b5547df79b.tar.bz2
iotests: drop some extra ** in qmp() call
qmp() method supports passing dict (if it doesn't need substituting '_' to '-' in keys). So, drop some extra '**' operators. Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru> Reviewed-by: Eric Blake <eblake@redhat.com> Message-id: 20231006154125.1068348-12-vsementsov@yandex-team.ru Signed-off-by: John Snow <jsnow@redhat.com>
Diffstat (limited to 'tests/qemu-iotests/295')
-rwxr-xr-xtests/qemu-iotests/2955
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/qemu-iotests/295 b/tests/qemu-iotests/295
index 270ad39..8ebe310 100755
--- a/tests/qemu-iotests/295
+++ b/tests/qemu-iotests/295
@@ -102,8 +102,7 @@ class EncryptionSetupTestCase(iotests.QMPTestCase):
}
}
- result = self.vm.qmp('blockdev-add', **
- {
+ result = self.vm.qmp('blockdev-add', {
'driver': iotests.imgfmt,
'node-name': id,
'read-only': read_only,
@@ -120,7 +119,7 @@ class EncryptionSetupTestCase(iotests.QMPTestCase):
# close the encrypted block device
def closeImageQmp(self, id):
- result = self.vm.qmp('blockdev-del', **{ 'node-name': id })
+ result = self.vm.qmp('blockdev-del', {'node-name': id})
self.assert_qmp(result, 'return', {})
###########################################################################