]> git.ipfire.org Git - thirdparty/qemu.git/commit
tests/functional: resolve str(Asset) to cache file path
authorDaniel P. Berrangé <berrange@redhat.com>
Tue, 17 Dec 2024 15:59:24 +0000 (15:59 +0000)
committerThomas Huth <thuth@redhat.com>
Tue, 17 Dec 2024 18:39:53 +0000 (19:39 +0100)
commitc27f452d61a4741605da2e03c0e6c756dd249f25
treea3a1c81415ac905a60a4dafe33ab3f22b45e2807
parent8a6253a43a43084275b31ef05e674e4987b05a84
tests/functional: resolve str(Asset) to cache file path

Allow an Asset object to be used in place of a filename but
making its string representation resolve to the cache file
path.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-ID: <20241217155953.3950506-4-berrange@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
tests/functional/qemu_test/asset.py