Using pylint to improve the code quality in the tests/functional/qemu_test
a little bit, for example:
- put the doc strings in the right locations (after the "def" line, not
in front of it)
- use the right indentation everywhere (4 spaces)
- use isinstance() instead of checking via type()
- use lazy logging strings
Thomas Huth (6):
tests/functional: Fix problems in asset.py reported by pylint
tests/functional: Fix problems in decorators.py reported by pylint
tests/functional: Fix problems in linuxkerenl.py reported by pylint
tests/functional: Fix problems in testcase.py reported by pylint
tests/functional: Fix problems in uncompress.py reported by pylint
tests/functional: Fix problems in utils.py reported by pylint
tests/functional/qemu_test/asset.py | 24 ++-
tests/functional/qemu_test/decorators.py | 176 ++++++++-------
tests/functional/qemu_test/linuxkernel.py | 10 +-
tests/functional/qemu_test/testcase.py | 251 +++++++++++-----------
tests/functional/qemu_test/uncompress.py | 40 ++--
tests/functional/qemu_test/utils.py | 22 +-
6 files changed, 262 insertions(+), 261 deletions(-)
--
2.51.0