[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 6/6] avocado_qemu: fix inheritance order on LinuxTest class
From: |
Willian Rampazzo |
Subject: |
[PATCH 6/6] avocado_qemu: fix inheritance order on LinuxTest class |
Date: |
Mon, 20 Sep 2021 17:49:32 -0300 |
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>
---
tests/acceptance/avocado_qemu/__init__.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 @@ def default_kernel_params(self):
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
--
2.31.1
- [PATCH 0/6] avocado_qemu: small fixes and tweaks, Willian Rampazzo, 2021/09/20
- [PATCH 2/6] avocado_qemu: standardize supper() call following PEP3135, Willian Rampazzo, 2021/09/20
- [PATCH 1/6] Acceptance Tests: add standard clean up at test tearDown(), Willian Rampazzo, 2021/09/20
- [PATCH 3/6] avocado_qemu: fix import module based on isort, Willian Rampazzo, 2021/09/20
- [PATCH 4/6] avocado_qemu: tweak ssh connect method, Willian Rampazzo, 2021/09/20
- [PATCH 5/6] avocado_qemu: explicitly return None to avoid R1710, Willian Rampazzo, 2021/09/20
- [PATCH 6/6] avocado_qemu: fix inheritance order on LinuxTest class,
Willian Rampazzo <=
- Re: [PATCH 0/6] avocado_qemu: small fixes and tweaks, Philippe Mathieu-Daudé, 2021/09/27
- Re: [PATCH 0/6] avocado_qemu: small fixes and tweaks, Philippe Mathieu-Daudé, 2021/09/27