aboutsummaryrefslogtreecommitdiff
path: root/tests/qemu-iotests/096
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qemu-iotests/096')
-rwxr-xr-xtests/qemu-iotests/0964
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/qemu-iotests/096 b/tests/qemu-iotests/096
index aeeb375..a694396 100755
--- a/tests/qemu-iotests/096
+++ b/tests/qemu-iotests/096
@@ -53,9 +53,9 @@ class TestLiveSnapshot(iotests.QMPTestCase):
self.assertEqual(r['iops'], self.iops)
self.assertEqual(r['iops_size'], self.iops_size)
else:
- self.assertFalse(r.has_key('group'))
+ self.assertFalse('group' in r)
self.assertEqual(r['iops'], 0)
- self.assertFalse(r.has_key('iops_size'))
+ self.assertFalse('iops_size' in r)
def testSnapshot(self):
self.checkConfig('base')