summary refs log tree commit diff stats
path: root/tests/functional/qemu_test/__init__.py
diff options
context:
space:
mode:
authorDaniel P. Berrangé <berrange@redhat.com>2024-12-17 15:59:45 +0000
committerThomas Huth <thuth@redhat.com>2024-12-17 19:39:53 +0100
commitdd66e65f055a0d8651afcf63460b1130487aeebb (patch)
tree2883e5308f7278a41f039a5dbc179d4ac5639530 /tests/functional/qemu_test/__init__.py
parent5831ed84e7e450a652f215721aba34ed4e1ffb97 (diff)
downloadfocaccia-qemu-dd66e65f055a0d8651afcf63460b1130487aeebb.tar.gz
focaccia-qemu-dd66e65f055a0d8651afcf63460b1130487aeebb.zip
tests/functional: add a generalized uncompress helper
There are many types of compression that the tests deal with, and
it makes sense to have a single helper 'uncompress' that can deal
with all.

Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Message-ID: <20241217155953.3950506-25-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__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/functional/qemu_test/__init__.py b/tests/functional/qemu_test/__init__.py
index 665c482d13..3bd043e608 100644
--- a/tests/functional/qemu_test/__init__.py
+++ b/tests/functional/qemu_test/__init__.py
@@ -17,3 +17,4 @@ from .decorators import skipIfMissingCommands, skipIfNotMachine, \
     skipFlakyTest, skipUntrustedTest, skipBigDataTest, \
     skipIfMissingImports
 from .archive import archive_extract
+from .uncompress import uncompress