qemu-cr16/tests/functional/qemu_test
Gustavo Romero 0ac3c31413 tests/functional: Mark main in QemuBaseTest class as a static method
The main() method in the QemuBaseTest class has no parameters but is
defined as a regular method. Currently, this does not cause any issues
because in the functional tests main() is always called directly from
QemuBaseTest (never from instances), but the way this method is defined
makes its signature wrong, implying a 'self'. Hence, it's best practice
to define such a method as a static method, so decorate it with
@staticmethod.

Signed-off-by: Gustavo Romero <gustavo.romero@linaro.org>
Message-ID: <20250819143916.4138035-4-gustavo.romero@linaro.org>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
2025-08-27 09:46:55 +02:00
..
__init__.py tests/functional: add skipLockedMemoryTest decorator 2025-06-11 12:17:57 +02:00
archive.py tests/functional: replace 'run_cmd' with subprocess helpers 2024-12-17 19:39:53 +01:00
asset.py tests/functional/asset: Add AssetError exception class 2025-03-12 18:20:50 +01:00
cmd.py tests/functional: remove now unused 'run_cmd' helper 2024-12-17 19:39:53 +01:00
config.py tests/functional: Introduce the dso_suffix() helper 2025-03-10 10:30:00 +00:00
decorators.py tests/functional: add skipLockedMemoryTest decorator 2025-06-11 12:17:57 +02:00
linuxkernel.py tests/functional: Move the code for testing HTTP downloads to a common function 2025-03-07 07:50:19 +01:00
ports.py tests/functional: Use more fine-grained locking when looking for free ports 2025-08-27 09:46:54 +02:00
tesseract.py tests/functional: replace 'run_cmd' with subprocess helpers 2024-12-17 19:39:53 +01:00
testcase.py tests/functional: Mark main in QemuBaseTest class as a static method 2025-08-27 09:46:55 +02:00
tuxruntest.py tests/functional: Remove unnecessary import statements 2025-04-23 07:51:25 +02:00
uncompress.py tests/functional: Remove unnecessary import statements 2025-04-23 07:51:25 +02:00
utils.py tests/functional: Add a helper function for retrieving the hostfwd port 2024-12-17 20:33:29 +01:00