[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 09/21] avocado_qemu: fix import module based on isort
From: |
Philippe Mathieu-Daudé |
Subject: |
[PULL 09/21] avocado_qemu: fix import module based on isort |
Date: |
Mon, 27 Sep 2021 19:02:15 +0200 |
From: Willian Rampazzo <willianr@redhat.com>
Signed-off-by: Willian Rampazzo <willianr@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20210920204932.94132-4-willianr@redhat.com>
---
tests/acceptance/avocado_qemu/__init__.py | 18 +++++-------------
1 file changed, 5 insertions(+), 13 deletions(-)
diff --git a/tests/acceptance/avocado_qemu/__init__.py
b/tests/acceptance/avocado_qemu/__init__.py
index d2077d63cda..edb9ed74852 100644
--- a/tests/acceptance/avocado_qemu/__init__.py
+++ b/tests/acceptance/avocado_qemu/__init__.py
@@ -12,19 +12,13 @@
import os
import shutil
import sys
-import uuid
import tempfile
+import uuid
import avocado
-
-from avocado.utils import cloudinit
-from avocado.utils import datadrainer
-from avocado.utils import network
-from avocado.utils import ssh
-from avocado.utils import vmimage
+from avocado.utils import cloudinit, datadrainer, network, ssh, vmimage
from avocado.utils.path import find_command
-
#: The QEMU build root directory. It may also be the source directory
#: if building from the source dir, but it's safer to use BUILD_DIR for
#: that purpose. Be aware that if this code is moved outside of a source
@@ -42,11 +36,9 @@
sys.path.append(os.path.join(SOURCE_DIR, 'python'))
from qemu.machine import QEMUMachine
-from qemu.utils import (
- get_info_usernet_hostfwd_port,
- kvm_available,
- tcg_available,
-)
+from qemu.utils import (get_info_usernet_hostfwd_port, kvm_available,
+ tcg_available)
+
def is_readable_executable_file(path):
return os.path.isfile(path) and os.access(path, os.R_OK | os.X_OK)
--
2.31.1
- [PULL 00/21] Integration testing patches for 2021-09-27, Philippe Mathieu-Daudé, 2021/09/27
- [PULL 01/21] tests/acceptance: add replay kernel test for s390x, Philippe Mathieu-Daudé, 2021/09/27
- [PULL 02/21] tests/acceptance: add replay kernel test for openrisc, Philippe Mathieu-Daudé, 2021/09/27
- [PULL 03/21] tests/acceptance: add replay kernel test for nios2, Philippe Mathieu-Daudé, 2021/09/27
- [PULL 04/21] tests/acceptance: add replay kernel test for alpha, Philippe Mathieu-Daudé, 2021/09/27
- [PULL 06/21] Acceptance tests: add myself as a reviewer for the acceptance tests, Philippe Mathieu-Daudé, 2021/09/27
- [PULL 07/21] Acceptance Tests: add standard clean up at test tearDown(), Philippe Mathieu-Daudé, 2021/09/27
- [PULL 08/21] avocado_qemu: standardize super() call following PEP3135, Philippe Mathieu-Daudé, 2021/09/27
- [PULL 05/21] tests/acceptance: Linux boot test for record/replay, Philippe Mathieu-Daudé, 2021/09/27
- [PULL 09/21] avocado_qemu: fix import module based on isort,
Philippe Mathieu-Daudé <=
- [PULL 10/21] avocado_qemu: tweak ssh connect method, Philippe Mathieu-Daudé, 2021/09/27
- [PULL 11/21] avocado_qemu: explicitly return None to avoid R1710, Philippe Mathieu-Daudé, 2021/09/27
- [PULL 12/21] avocado_qemu: fix inheritance order on LinuxTest class, Philippe Mathieu-Daudé, 2021/09/27
- [PULL 13/21] tests/Makefile: allow control over tags during check-acceptance, Philippe Mathieu-Daudé, 2021/09/27
- [PULL 14/21] docs/devel/testing: add instruction to run a single acceptance test, Philippe Mathieu-Daudé, 2021/09/27
- [PULL 15/21] tests/Makefile: add AVOCADO_TESTS option to make check-acceptance, Philippe Mathieu-Daudé, 2021/09/27
- [PULL 16/21] qemu: Split machine_ppc.py acceptance tests, Philippe Mathieu-Daudé, 2021/09/27
- [PULL 18/21] acceptance/tests/vnc.py: use explicit syntax for enabling passwords, Philippe Mathieu-Daudé, 2021/09/27
- [PULL 17/21] Acceptance Tests: improve check-acceptance description, Philippe Mathieu-Daudé, 2021/09/27
- [PULL 19/21] tests/acceptance/boot_xen.py: removed unused import, Philippe Mathieu-Daudé, 2021/09/27