[PATCH v3 09/13] test/py: efi_secboot: more fixes against pylint