[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 07/11] tests/functional: Add a function for extracting files
From: |
Daniel P . Berrangé |
Subject: |
Re: [PATCH 07/11] tests/functional: Add a function for extracting files from an archive |
Date: |
Tue, 16 Jul 2024 19:20:08 +0100 |
User-agent: |
Mutt/2.2.12 (2023-09-09) |
On Tue, Jul 16, 2024 at 01:26:10PM +0200, Thomas Huth wrote:
> Some Avocado-based tests use the "archive" module from avocado.utils
> to extract files from an archive. To be able to use these tests
> without Avocado, we have to provide our own function for extracting
> files. Fortunately, there is already the tarfile module that will
> provide us with this functionality, so let's just add a nice wrapper
> function around that.
>
> Signed-off-by: Thomas Huth <thuth@redhat.com>
> ---
> tests/functional/qemu_test/utils.py | 21 +++++++++++++++++++++
> 1 file changed, 21 insertions(+)
> create mode 100644 tests/functional/qemu_test/utils.py
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
With regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
- Re: [PATCH 05/11] tests/functional: Implement fetch_asset() method for downloading assets, (continued)
- [PATCH 08/11] tests/functional: Convert some avocado tests that needed avocado.utils.archive, Thomas Huth, 2024/07/16
- [PATCH 06/11] tests/functional: Convert some tests that download files via fetch_asset(), Thomas Huth, 2024/07/16
- [PATCH 09/11] tests/functional: Set up logging, Thomas Huth, 2024/07/16
- [PATCH 10/11] tests/functional: Convert the s390x avocado tests into standalone tests, Thomas Huth, 2024/07/16
- [PATCH 07/11] tests/functional: Add a function for extracting files from an archive, Thomas Huth, 2024/07/16
- Re: [PATCH 07/11] tests/functional: Add a function for extracting files from an archive,
Daniel P . Berrangé <=
- [PATCH 11/11] gitlab-ci: Add "check-functional" to the build tests, Thomas Huth, 2024/07/16
- Re: [PATCH v1 00/11] Convert avocado tests to normal Python unittests, Daniel P . Berrangé, 2024/07/16
Re: [PATCH v1 00/11] Convert avocado tests to normal Python unittests, Paolo Bonzini, 2024/07/16
Re: [PATCH v1 00/11] Convert avocado tests to normal Python unittests, Cleber Rosa, 2024/07/25