aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Schuchardt2022-10-01 20:55:14 +0200
committerHeinrich Schuchardt2022-10-06 22:54:57 +0200
commit874490c7ec7a05a429b951720f11a3b966ec0572 (patch)
treee09248e9d35c6c3ff646f5b60caf16b4b2422a7e
parent01caf28778bfe04838bd4c548ccc975f5a2f59ee (diff)
test: fix some pylint errors in test_efi_secboot
* Remove unused import * Provide module docstring Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
-rw-r--r--test/py/tests/test_efi_secboot/conftest.py12
1 files changed, 3 insertions, 9 deletions
diff --git a/test/py/tests/test_efi_secboot/conftest.py b/test/py/tests/test_efi_secboot/conftest.py
index db6b8d301f8..406131cb45e 100644
--- a/test/py/tests/test_efi_secboot/conftest.py
+++ b/test/py/tests/test_efi_secboot/conftest.py
@@ -2,18 +2,12 @@
# Copyright (c) 2019, Linaro Limited
# Author: AKASHI Takahiro <takahiro.akashi@linaro.org>
-import os
-import os.path
-from subprocess import call, check_call, check_output, CalledProcessError
+""" Fixture for UEFI secure boot test """
+
+from subprocess import call, check_call, CalledProcessError
import pytest
from defs import *
-
-#
-# Fixture for UEFI secure boot test
-#
-
-
@pytest.fixture(scope='session')
def efi_boot_env(request, u_boot_config):
"""Set up a file system to be used in UEFI secure boot test.