[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v5 05/44] tests/avocado/avocado_qemu: Fix the "from" statements i
|
From: |
Thomas Huth |
|
Subject: |
[PATCH v5 05/44] tests/avocado/avocado_qemu: Fix the "from" statements in linuxtest.py |
|
Date: |
Fri, 30 Aug 2024 15:37:59 +0200 |
Without this change, the new Avocado v103 fails to find the tests
that are based on the LinuxTest class.
Suggested-by: Cleber Rosa <crosa@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
---
tests/avocado/avocado_qemu/linuxtest.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/avocado/avocado_qemu/linuxtest.py
b/tests/avocado/avocado_qemu/linuxtest.py
index e1dc838b1c..66fb9f1507 100644
--- a/tests/avocado/avocado_qemu/linuxtest.py
+++ b/tests/avocado/avocado_qemu/linuxtest.py
@@ -13,8 +13,8 @@
from avocado.utils import cloudinit, datadrainer, process, vmimage
-from . import LinuxSSHMixIn
-from . import QemuSystemTest
+from avocado_qemu import LinuxSSHMixIn
+from avocado_qemu import QemuSystemTest
if os.path.islink(os.path.dirname(os.path.dirname(__file__))):
# The link to the avocado tests dir in the source code directory
--
2.46.0
- [PATCH v5 00/44] Convert avocado tests to normal Python unittests, Thomas Huth, 2024/08/30
- [PATCH v5 01/44] tests/avocado: machine aarch64: standardize location and RO access, Thomas Huth, 2024/08/30
- [PATCH v5 02/44] tests/avocado/boot_xen.py: fetch kernel during test setUp(), Thomas Huth, 2024/08/30
- [PATCH v5 03/44] tests/avocado/machine_aarch64_sbsaref.py: allow for rw usage of image, Thomas Huth, 2024/08/30
- [PATCH v5 04/44] Bump avocado to 103.0, Thomas Huth, 2024/08/30
- [PATCH v5 05/44] tests/avocado/avocado_qemu: Fix the "from" statements in linuxtest.py,
Thomas Huth <=
- [PATCH v5 07/44] python: Install pycotap in our venv if necessary, Thomas Huth, 2024/08/30
- [PATCH v5 06/44] tests/avocado/boot_linux_console: Remove the s390x subtest, Thomas Huth, 2024/08/30
- [PATCH v5 08/44] tests/functional: Add base classes for the upcoming pytest-based tests, Thomas Huth, 2024/08/30
- [PATCH v5 09/44] tests/functional: Set up logging, Thomas Huth, 2024/08/30
- [PATCH v5 10/44] tests/Makefile.include: Increase the level of indentation in the help text, Thomas Huth, 2024/08/30
- [PATCH v5 11/44] tests/functional: Prepare the meson build system for the functional tests, Thomas Huth, 2024/08/30
- [PATCH v5 12/44] tests/functional: Convert simple avocado tests into standalone python tests, Thomas Huth, 2024/08/30
- [PATCH v5 14/44] tests/functional: add a module for handling asset download & caching, Thomas Huth, 2024/08/30
- [PATCH v5 13/44] tests/functional: Convert avocado tests that just need a small adjustment, Thomas Huth, 2024/08/30
- [PATCH v5 15/44] tests/functional: enable pre-emptive caching of assets, Thomas Huth, 2024/08/30