diff mbox series

[v2,27/31] tests/functional: drop back compat imports from utils.py

Message ID 20241211172648.2893097-28-berrange@redhat.com (mailing list archive)
State New
Headers show
Series tests/functional: various improvements wrt assets/scratch files | expand

Commit Message

Daniel P. Berrangé Dec. 11, 2024, 5:26 p.m. UTC
Now that all tests are converted over to the higher level wrapper
functions, the back compat imports from utils.py are redundant.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
---
 tests/functional/qemu_test/utils.py | 5 -----
 1 file changed, 5 deletions(-)

Comments

Thomas Huth Dec. 12, 2024, 11:04 a.m. UTC | #1
On 11/12/2024 18.26, Daniel P. Berrangé wrote:
> Now that all tests are converted over to the higher level wrapper
> functions, the back compat imports from utils.py are redundant.
> 
> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
> ---
>   tests/functional/qemu_test/utils.py | 5 -----
>   1 file changed, 5 deletions(-)
> 
> diff --git a/tests/functional/qemu_test/utils.py b/tests/functional/qemu_test/utils.py
> index 6b87af4414..43853b4366 100644
> --- a/tests/functional/qemu_test/utils.py
> +++ b/tests/functional/qemu_test/utils.py
> @@ -10,11 +10,6 @@
>   
>   import os
>   
> -from .archive import tar_extract as archive_extract
> -from .archive import cpio_extract
> -from .uncompress import gzip_uncompress
> -from .uncompress import lzma_uncompress
> -
>   """
>   Round up to next power of 2
>   """

Reviewed-by: Thomas Huth <thuth@redhat.com>
diff mbox series

Patch

diff --git a/tests/functional/qemu_test/utils.py b/tests/functional/qemu_test/utils.py
index 6b87af4414..43853b4366 100644
--- a/tests/functional/qemu_test/utils.py
+++ b/tests/functional/qemu_test/utils.py
@@ -10,11 +10,6 @@ 
 
 import os
 
-from .archive import tar_extract as archive_extract
-from .archive import cpio_extract
-from .uncompress import gzip_uncompress
-from .uncompress import lzma_uncompress
-
 """
 Round up to next power of 2
 """