From: Willian Rampazzo Date: Mon, 20 Sep 2021 20:49:32 +0000 (-0300) Subject: avocado_qemu: fix inheritance order on LinuxTest class X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=e519df437a1f46491f687c001fe2eab24bafe18e;p=qemu.git avocado_qemu: fix inheritance order on LinuxTest class Class hierarchy on Python is defined from right to left. Although the current code is not harmful, let's fix it to avoid problems in the future. Signed-off-by: Willian Rampazzo Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Philippe Mathieu-Daudé Message-Id: <20210920204932.94132-7-willianr@redhat.com> --- diff --git a/tests/acceptance/avocado_qemu/__init__.py b/tests/acceptance/avocado_qemu/__init__.py index 35318ce2a9..1841053e2c 100644 --- a/tests/acceptance/avocado_qemu/__init__.py +++ b/tests/acceptance/avocado_qemu/__init__.py @@ -424,7 +424,7 @@ class LinuxDistro: return self._info.get('kernel_params', None) -class LinuxTest(Test, LinuxSSHMixIn): +class LinuxTest(LinuxSSHMixIn, Test): """Facilitates having a cloud-image Linux based available. For tests that indend to interact with guests, this is a better choice