Revision ecc1c88e tests/qemu-iotests/iotests.py

b/tests/qemu-iotests/iotests.py
170 170
        result = self.dictpath(d, path)
171 171
        self.assertEqual(result, value, 'values not equal "%s" and "%s"' % (str(result), str(value)))
172 172

  
173
    def assert_no_active_block_jobs(self):
174
        result = self.vm.qmp('query-block-jobs')
175
        self.assert_qmp(result, 'return', [])
176

  
173 177
def notrun(reason):
174 178
    '''Skip this test suite'''
175 179
    # Each test in qemu-iotests has a number ("seq")

Also available in: Unified diff