tests/functional: add a generalized archive_extract
authorDaniel P. Berrangé <berrange@redhat.com>
Tue, 17 Dec 2024 15:59:42 +0000 (15:59 +0000)
committerThomas Huth <thuth@redhat.com>
Tue, 17 Dec 2024 18:39:53 +0000 (19:39 +0100)
commitc283afbf658cdc2156250a84be433fc0bdd002ac
treefbddb1fc2dce851080b963de78fd1611fa5e5085
parentc055f1d26fbcc18de02e59569f3e2a224595835a
tests/functional: add a generalized archive_extract

There are many types of archives that the tests deal with. Provide
a generalized 'archive_extract' that can detect the format and
delegate to the appropriate helper for extraction. This ensures
that all archive extraction code follows the same design pattern.

Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Message-ID: <20241217155953.3950506-22-berrange@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
tests/functional/qemu_test/__init__.py
tests/functional/qemu_test/archive.py