]> www.infradead.org Git - users/dwmw2/qemu.git/commitdiff
tests/avocado/avocado_qemu: Fix the "from" statements in linuxtest.py
authorThomas Huth <thuth@redhat.com>
Fri, 30 Aug 2024 13:37:59 +0000 (15:37 +0200)
committerThomas Huth <thuth@redhat.com>
Wed, 4 Sep 2024 08:52:29 +0000 (10:52 +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>
Message-ID: <20240830133841.142644-6-thuth@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
tests/avocado/avocado_qemu/linuxtest.py

index e1dc838b1cb180a1427d01a5f8e86ae3d355e368..66fb9f150796c6257e5e2cc9921323960f79bc2d 100644 (file)
@@ -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