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

Daniel P. Berrangé posted 31 patches 5 months ago
There is a newer version of this series
[PATCH v2 27/31] tests/functional: drop back compat imports from utils.py
Posted by Daniel P. Berrangé 5 months ago
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
 """
-- 
2.46.0


Re: [PATCH v2 27/31] tests/functional: drop back compat imports from utils.py
Posted by Thomas Huth 5 months ago
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>