diff options
author | Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> | 2018-03-12 18:21:24 +0300 |
---|---|---|
committer | Eric Blake <eblake@redhat.com> | 2018-03-13 15:44:09 -0500 |
commit | 02f3a9119955891abb2ead5e0bb9cc2f0af42150 (patch) | |
tree | 4c6f8a01ad8b12a0577163ebc8bc569c5b282f6e /tests/qemu-iotests/iotests.py | |
parent | 78a33ab58782efdb206de14fa44ea626e2360bfc (diff) | |
download | qemu-02f3a9119955891abb2ead5e0bb9cc2f0af42150.zip qemu-02f3a9119955891abb2ead5e0bb9cc2f0af42150.tar.gz qemu-02f3a9119955891abb2ead5e0bb9cc2f0af42150.tar.bz2 |
iotests.py: tiny refactor: move system imports up
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20180312152126.286890-7-vsementsov@virtuozzo.com>
Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'tests/qemu-iotests/iotests.py')
-rw-r--r-- | tests/qemu-iotests/iotests.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/qemu-iotests/iotests.py b/tests/qemu-iotests/iotests.py index 1bcc9ca..c1302a2 100644 --- a/tests/qemu-iotests/iotests.py +++ b/tests/qemu-iotests/iotests.py @@ -23,13 +23,14 @@ import subprocess import string import unittest import sys -sys.path.append(os.path.join(os.path.dirname(__file__), '..', '..', 'scripts')) -import qtest import struct import json import signal import logging +sys.path.append(os.path.join(os.path.dirname(__file__), '..', '..', 'scripts')) +import qtest + # This will not work if arguments contain spaces but is necessary if we # want to support the override options that ./check supports. |