All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] tests/functional: Fix broken decorators
@ 2025-01-22 13:43 Thomas Huth
  2025-01-22 13:43 ` [PATCH v2 1/2] tests/functional/qemu_test/decorators: Fix bad check for imports Thomas Huth
  2025-01-22 13:43 ` [PATCH v2 2/2] tests/functional: Fix broken decorators with lamda functions Thomas Huth
  0 siblings, 2 replies; 4+ messages in thread
From: Thomas Huth @ 2025-01-22 13:43 UTC (permalink / raw)
  To: qemu-devel, Daniel P . Berrange; +Cc: Philippe Mathieu-Daudé

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



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-01-22 13:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-22 13:43 [PATCH v2 0/2] tests/functional: Fix broken decorators Thomas Huth
2025-01-22 13:43 ` [PATCH v2 1/2] tests/functional/qemu_test/decorators: Fix bad check for imports Thomas Huth
2025-01-22 13:50   ` Daniel P. Berrangé
2025-01-22 13:43 ` [PATCH v2 2/2] tests/functional: Fix broken decorators with lamda functions Thomas Huth

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.