[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 0/2] tests/functional: Fix broken decorators
From: |
Thomas Huth |
Subject: |
[PATCH v2 0/2] tests/functional: Fix broken decorators |
Date: |
Wed, 22 Jan 2025 14:43:12 +0100 |
Many of the new decorators of the functional tests don't work as
expected (and simply always allow to run the tests). Let's fix them!
v2:
- Use importlib.import_module() to check whether we can import a module
- Split the import check into a separate patch
Thomas Huth (2):
tests/functional/qemu_test/decorators: Fix bad check for imports
tests/functional: Fix broken decorators with lamda functions
tests/functional/qemu_test/decorators.py | 45 ++++++++++++------------
1 file changed, 22 insertions(+), 23 deletions(-)
--
2.48.1
- [PATCH v2 0/2] tests/functional: Fix broken decorators,
Thomas Huth <=