[PATCH v4 08/12] test/py: efi_secboot: more fixes against pylint