qemu/tests/functional/qemu_test
Thomas Huth 257de641e0 tests/functional: Fix broken decorators with lamda functions
The decorators that use a lambda function are currently broken
and do not properly skip the test if the condition is not met.
Using "return skipUnless(lambda: ...)" does not work as expected.
To fix it, rewrite the decorators without lambda, it's simpler
that way anyway.

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-ID: <20250122134315.1448794-3-thuth@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
2025-01-30 10:30:36 +01:00
..
__init__.py tests/functional: remove now unused 'run_cmd' helper 2024-12-17 19:39:53 +01:00
archive.py tests/functional: replace 'run_cmd' with subprocess helpers 2024-12-17 19:39:53 +01:00
asset.py tests/functional: ignore errors when caching assets, except for 404 2024-12-17 19:39:53 +01:00
cmd.py tests/functional: remove now unused 'run_cmd' helper 2024-12-17 19:39:53 +01:00
config.py tests/functional: Add base classes for the upcoming pytest-based tests 2024-09-04 10:52:29 +02:00
decorators.py tests/functional: Fix broken decorators with lamda functions 2025-01-30 10:30:36 +01:00
linuxkernel.py tests/functional: convert tests to new archive_extract helper 2024-12-17 19:39:53 +01:00
ports.py tests/functional: Extract the find_free_ports() function into a helper file 2025-01-02 08:58:08 +01:00
tesseract.py tests/functional: replace 'run_cmd' with subprocess helpers 2024-12-17 19:39:53 +01:00
testcase.py tests/functional: skip tests if assets are not available 2024-12-17 19:39:53 +01:00
tuxruntest.py tests/functional: update tuxruntest to use uncompress utility 2025-01-10 11:18:32 +00:00
uncompress.py tests/functional: add zstd support to uncompress utility 2025-01-10 11:18:32 +00:00
utils.py tests/functional: Add a helper function for retrieving the hostfwd port 2024-12-17 20:33:29 +01:00