]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
tests/functional/ppc64: Fix class names to silence pylint warnings
authorThomas Huth <thuth@redhat.com>
Wed, 29 Oct 2025 14:19:46 +0000 (15:19 +0100)
committerThomas Huth <thuth@redhat.com>
Mon, 3 Nov 2025 07:27:59 +0000 (08:27 +0100)
Pylint complains about inconsistent CamelCase names here, so let's
slightly change the names to make pylint happy again.

In the sam460ex test, also split a line where pylint was complaining
about it being too long.

Reviewed-by: Glenn Miles <milesg@linux.ibm.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-ID: <20251029141946.86110-1-thuth@redhat.com>

tests/functional/ppc/test_74xx.py
tests/functional/ppc/test_sam460ex.py
tests/functional/ppc64/test_powernv.py
tests/functional/ppc64/test_pseries.py
tests/functional/ppc64/test_reverse_debug.py

index 5386016f2614a53dbb98f3ef6f5afd79ce690e41..219c7991acaad0cc297b9ee5a541a5891b534775 100755 (executable)
@@ -10,7 +10,7 @@
 from qemu_test import QemuSystemTest
 from qemu_test import wait_for_console_pattern
 
-class ppc74xxCpu(QemuSystemTest):
+class Ppc74xxCpu(QemuSystemTest):
 
     timeout = 5
 
index 31cf9dd6de83812fe30bd640a9bb373fc82a29bf..024406d155c9226d584a87609430c60dfd68d2ba 100755 (executable)
@@ -8,10 +8,11 @@ from qemu_test import LinuxKernelTest, Asset
 from qemu_test import exec_command_and_wait_for_pattern
 
 
-class sam460exTest(LinuxKernelTest):
+class Sam460exTest(LinuxKernelTest):
 
     ASSET_BR2_SAM460EX_LINUX = Asset(
-        'https://github.com/legoater/qemu-ppc-boot/raw/refs/heads/main/buildroot/qemu_ppc_sam460ex-2023.11-8-gdcd9f0f6eb-20240105/vmlinux',
+        ('https://github.com/legoater/qemu-ppc-boot/raw/refs/heads/main'
+         '/buildroot/qemu_ppc_sam460ex-2023.11-8-gdcd9f0f6eb-20240105/vmlinux'),
         '6f46346f3e20e8b5fc050ff363f350f8b9d76a051b9e0bd7ea470cc680c14df2')
 
     def test_ppc_sam460ex_buildroot(self):
index 9ada832b78161683dcdfa3ae22fecee3866041f8..0ea6c93e4287497e121e7b571f6116815d6dd334 100755 (executable)
@@ -10,7 +10,7 @@
 from qemu_test import LinuxKernelTest, Asset
 from qemu_test import wait_for_console_pattern
 
-class powernvMachine(LinuxKernelTest):
+class PowernvMachine(LinuxKernelTest):
 
     timeout = 90
     KERNEL_COMMON_COMMAND_LINE = 'printk.time=0 console=hvc0 '
index 67057934e8d2f1a0baa020072ed5221c794ca03d..7840c4e3ff805741548cec4b3fee41268d6e8bff 100755 (executable)
@@ -10,7 +10,7 @@
 from qemu_test import QemuSystemTest, Asset
 from qemu_test import wait_for_console_pattern
 
-class pseriesMachine(QemuSystemTest):
+class PseriesMachine(QemuSystemTest):
 
     timeout = 90
     KERNEL_COMMON_COMMAND_LINE = 'printk.time=0 console=hvc0 '
index 69551fb84df0072723525b05fec4713bbf58eabe..4eef779936dc37d643cfabefb44dc3d185b7e63b 100755 (executable)
@@ -18,7 +18,7 @@ from qemu_test import skipFlakyTest
 from reverse_debugging import ReverseDebugging
 
 
-class ReverseDebugging_ppc64(ReverseDebugging):
+class ReverseDebuggingPpc64(ReverseDebugging):
 
     @skipFlakyTest("https://gitlab.com/qemu-project/qemu/-/issues/1992")
     def test_ppc64_pseries(self):