aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2024-08-30 15:37:59 +0200
committerThomas Huth <thuth@redhat.com>2024-09-04 10:52:29 +0200
commitc67cb553f11fe20397e20b861dbf5a04df93f5e3 (patch)
tree91419cb41d745e95495c4b34cb2daf2f81269c8f /tests
parent657136c6539c103d7705b9f4bc8bc00a6ffba0ad (diff)
downloadqemu-c67cb553f11fe20397e20b861dbf5a04df93f5e3.zip
qemu-c67cb553f11fe20397e20b861dbf5a04df93f5e3.tar.gz
qemu-c67cb553f11fe20397e20b861dbf5a04df93f5e3.tar.bz2
tests/avocado/avocado_qemu: Fix the "from" statements in linuxtest.py
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> Message-ID: <20240830133841.142644-6-thuth@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/avocado/avocado_qemu/linuxtest.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/avocado/avocado_qemu/linuxtest.py b/tests/avocado/avocado_qemu/linuxtest.py
index e1dc838..66fb9f1 100644
--- a/tests/avocado/avocado_qemu/linuxtest.py
+++ b/tests/avocado/avocado_qemu/linuxtest.py
@@ -13,8 +13,8 @@ import shutil
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