]> git.proxmox.com Git - mirror_qemu.git/commitdiff
avocado_qemu: fix inheritance order on LinuxTest class
authorWillian Rampazzo <willianr@redhat.com>
Mon, 20 Sep 2021 20:49:32 +0000 (17:49 -0300)
committerPhilippe Mathieu-Daudé <philmd@redhat.com>
Mon, 27 Sep 2021 17:06:42 +0000 (19:06 +0200)
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 <willianr@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20210920204932.94132-7-willianr@redhat.com>

tests/acceptance/avocado_qemu/__init__.py

index 35318ce2a9c5390cf67b9497e767e54f8082a825..1841053e2c17b042e7e199f9b39665a329768844 100644 (file)
@@ -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