Skip to content

tests/functional: Fix broken decorators

Thomas Huth qemu-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 1 replyIn review
  2. v11 patch 1 replySuperseded

Changes in v2 from the cover letter

- Use importlib.import_module() to check whether we can import a module
- Split the import check into a separate patch

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2tests/functional/qemu_test/decorators: Fix bad check for importstests/functional/qemu_test/decorators.py+2 -11 reply
2/2tests/functional: Fix broken decorators with lamda functionstests/functional/qemu_test/decorators.py+21 -230 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchDaniel P. Berrangé
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] tests/functional: Fix broken decorators

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(-)
Signature · 1 line
2.48.1