diff options
| author | Daniel P. Berrangé <berrange@redhat.com> | 2024-12-17 15:59:42 +0000 |
|---|---|---|
| committer | Thomas Huth <thuth@redhat.com> | 2024-12-17 19:39:53 +0100 |
| commit | c283afbf658cdc2156250a84be433fc0bdd002ac (patch) | |
| tree | fbddb1fc2dce851080b963de78fd1611fa5e5085 /tests/functional/qemu_test/__init__.py | |
| parent | c055f1d26fbcc18de02e59569f3e2a224595835a (diff) | |
| download | focaccia-qemu-c283afbf658cdc2156250a84be433fc0bdd002ac.tar.gz focaccia-qemu-c283afbf658cdc2156250a84be433fc0bdd002ac.zip | |
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>
Diffstat (limited to 'tests/functional/qemu_test/__init__.py')
| -rw-r--r-- | tests/functional/qemu_test/__init__.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/functional/qemu_test/__init__.py b/tests/functional/qemu_test/__init__.py index fe6cbe3a8a..665c482d13 100644 --- a/tests/functional/qemu_test/__init__.py +++ b/tests/functional/qemu_test/__init__.py @@ -16,3 +16,4 @@ from .linuxkernel import LinuxKernelTest from .decorators import skipIfMissingCommands, skipIfNotMachine, \ skipFlakyTest, skipUntrustedTest, skipBigDataTest, \ skipIfMissingImports +from .archive import archive_extract |