qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 23/31] tests/functional: convert tests to new archive_extr


From: Daniel P . Berrangé
Subject: Re: [PATCH v2 23/31] tests/functional: convert tests to new archive_extract helper
Date: Thu, 12 Dec 2024 10:44:28 +0000
User-agent: Mutt/2.2.13 (2024-03-09)

On Thu, Dec 12, 2024 at 11:34:19AM +0100, Thomas Huth wrote:
> On 11/12/2024 18.26, Daniel P. Berrangé wrote:
> > Replace use of utils.archive_extract and extract_from_deb with the
> > new archive_extract helper.
> > 
> > Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
> > ---
> ...
> > diff --git a/tests/functional/qemu_test/linuxkernel.py 
> > b/tests/functional/qemu_test/linuxkernel.py
> > index 8f2810f3af..155855541f 100644
> > --- a/tests/functional/qemu_test/linuxkernel.py
> > +++ b/tests/functional/qemu_test/linuxkernel.py
> > @@ -3,11 +3,9 @@
> >   # This work is licensed under the terms of the GNU GPL, version 2 or
> >   # later.  See the COPYING file in the top-level directory.
> > -import os
> > -
> >   from .testcase import QemuSystemTest
> >   from .cmd import wait_for_console_pattern
> > -from .archive import deb_extract
> > +
> >   class LinuxKernelTest(QemuSystemTest):
> 
> Cosmetical nit: Two empty lines should be enough, no reason to add a third 
> one.

Yes, I was aiming to fixup to two lines where I touched code, since that
is what python linters would want us to have.

> 
> Apart from that:
> Reviewed-by: Thomas Huth <thuth@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 :|




reply via email to

[Prev in Thread] Current Thread [Next in Thread]