[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v4 05/35] tests/avocado/avocado_qemu: Fix the "from" statements i
From: |
Thomas Huth |
Subject: |
[PATCH v4 05/35] tests/avocado/avocado_qemu: Fix the "from" statements in linuxtest.py |
Date: |
Wed, 21 Aug 2024 10:27:06 +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>
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 v4 00/35] Convert avocado tests to normal Python unittests, Thomas Huth, 2024/08/21
- [PATCH v4 06/35] tests/avocado/boot_linux_console: Remove the s390x subtest, Thomas Huth, 2024/08/21
- [PATCH v4 07/35] python: Install pycotap in our venv if necessary, Thomas Huth, 2024/08/21
- [PATCH v4 08/35] tests/functional: Add base classes for the upcoming pytest-based tests, Thomas Huth, 2024/08/21
- [PATCH v4 09/35] tests/functional: Set up logging, Thomas Huth, 2024/08/21
- [PATCH v4 10/35] tests/Makefile.include: Increase the level of indentation in the help text, Thomas Huth, 2024/08/21