]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
tests/functional: Fix problems in linuxkernel.py reported by pylint
authorThomas Huth <thuth@redhat.com>
Mon, 13 Oct 2025 14:18:14 +0000 (16:18 +0200)
committerThomas Huth <thuth@redhat.com>
Mon, 3 Nov 2025 07:27:58 +0000 (08:27 +0100)
Use proper indentation here.

Message-ID: <20251015095454.1575318-3-thuth@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
tests/functional/qemu_test/linuxkernel.py

index c4767527daf60ed7bbeecf88dbddb6d345d797bb..eb10a8133532f4d071c04c95b603bd8cbfe81183 100644 (file)
@@ -83,12 +83,12 @@ class LinuxKernelTest(QemuSystemTest):
         self.vm.set_console(console_index=console_index)
         self.vm.add_args('-kernel', kernel)
         if initrd:
-                self.vm.add_args('-initrd', initrd)
+            self.vm.add_args('-initrd', initrd)
         if dtb:
-                self.vm.add_args('-dtb', dtb)
+            self.vm.add_args('-dtb', dtb)
         self.vm.launch()
         if wait_for:
-                self.wait_for_console_pattern(wait_for)
+            self.wait_for_console_pattern(wait_for)
 
     def check_http_download(self, filename, hashsum, guestport=8080,
                             pythoncmd='python3 -m http.server'):