summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorWillian Rampazzo2021-09-20 22:49:32 +0200
committerPhilippe Mathieu-Daudé2021-09-27 19:06:42 +0200
commite519df437a1f46491f687c001fe2eab24bafe18e (patch)
tree7d419c874bc31dec88cefba6575a7c9921fc833f /tests
parentavocado_qemu: explicitly return None to avoid R1710 (diff)
downloadqemu-e519df437a1f46491f687c001fe2eab24bafe18e.tar.gz
qemu-e519df437a1f46491f687c001fe2eab24bafe18e.tar.xz
qemu-e519df437a1f46491f687c001fe2eab24bafe18e.zip
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 <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>
Diffstat (limited to 'tests')
-rw-r--r--tests/acceptance/avocado_qemu/__init__.py2
1 files changed, 1 insertions, 1 deletions
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