iotests.py: Fix VM.run_job

log() is in the current module, there is no need to prefix it.  In fact,
doing so may make VM.run_job() unusable in tests that never use
iotests.log() themselves.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Alberto Garcia <berto@igalia.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
stable-4.1
Max Reitz 2019-05-15 22:15:02 +02:00 committed by Kevin Wolf
parent a93a42bd91
commit 86a4f599a6
1 changed files with 1 additions and 1 deletions

View File

@ -552,7 +552,7 @@ class VM(qtest.QEMUQtestMachine):
elif status == 'null':
return error
else:
iotests.log(ev)
log(ev)
def node_info(self, node_name):
nodes = self.qmp('query-named-block-nodes')