mbox series

[v2,0/2] tests/functional: Fix broken decorators

Message ID 20250122134315.1448794-1-thuth@redhat.com (mailing list archive)
Headers show
Series tests/functional: Fix broken decorators | expand

Message

Thomas Huth Jan. 22, 2025, 1:43 p.m. UTC
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(-)