diff options
author | Thomas Huth <thuth@redhat.com> | 2025-01-22 14:43:14 +0100 |
---|---|---|
committer | Thomas Huth <thuth@redhat.com> | 2025-01-30 10:30:36 +0100 |
commit | 257de641e091f4f5063298b9d717f3f15f8917f2 (patch) | |
tree | 7cdc5e36932d11f34cc208541c8af191d142c6f2 /scripts/xml-preprocess.py | |
parent | aca2c48e4d26426c14499fd3d8a2e333ac57d267 (diff) | |
download | qemu-257de641e091f4f5063298b9d717f3f15f8917f2.zip qemu-257de641e091f4f5063298b9d717f3f15f8917f2.tar.gz qemu-257de641e091f4f5063298b9d717f3f15f8917f2.tar.bz2 |
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>
Diffstat (limited to 'scripts/xml-preprocess.py')
0 files changed, 0 insertions, 0 deletions