[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v1 09/10] tests/acceptance: move @skipUnless decoration to test i
From: |
Alex Bennée |
Subject: |
[PATCH v1 09/10] tests/acceptance: move @skipUnless decoration to test itself |
Date: |
Mon, 2 Mar 2020 18:19:06 +0000 |
It appears ignore the decoration if just applied to the class.
Signed-off-by: Alex Bennée <address@hidden>
---
tests/acceptance/machine_mips_malta.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/acceptance/machine_mips_malta.py
b/tests/acceptance/machine_mips_malta.py
index 92b4f28a112..b8fac2a44d5 100644
--- a/tests/acceptance/machine_mips_malta.py
+++ b/tests/acceptance/machine_mips_malta.py
@@ -30,14 +30,14 @@ except ImportError:
CV2_AVAILABLE = False
-@skipUnless(NUMPY_AVAILABLE, 'Python NumPy not installed')
-@skipUnless(CV2_AVAILABLE, 'Python OpenCV not installed')
class MaltaMachineFramebuffer(Test):
timeout = 30
KERNEL_COMMON_COMMAND_LINE = 'printk.time=0 '
+ @skipUnless(NUMPY_AVAILABLE, 'Python NumPy not installed')
+ @skipUnless(CV2_AVAILABLE, 'Python OpenCV not installed')
def do_test_i6400_framebuffer_logo(self, cpu_cores_count):
"""
Boot Linux kernel and check Tux logo is displayed on the framebuffer.
--
2.20.1
- [PATCH v1 00/10] testing/next updates (tweaks and re-greening), Alex Bennée, 2020/03/02
- [PATCH v1 02/10] tests/vm: Debug mode shows ssh output., Alex Bennée, 2020/03/02
- [PATCH v1 06/10] travis: enable tools build on OS X, Alex Bennée, 2020/03/02
- [PATCH v1 09/10] tests/acceptance: move @skipUnless decoration to test itself,
Alex Bennée <=
- [PATCH v1 08/10] configure: detect and report genisoimage, Alex Bennée, 2020/03/02
- [PATCH v1 07/10] configure: fix check for libzstd, Alex Bennée, 2020/03/02
[PATCH v1 04/10] tests/vm: give wait_ssh() option to wait for root, Alex Bennée, 2020/03/02
[PATCH v1 03/10] tests/vm: increased max timeout for vm boot., Alex Bennée, 2020/03/02