]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
test: fix some pylint errors in test_efi_secboot
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 1 Oct 2022 18:55:14 +0000 (20:55 +0200)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Thu, 6 Oct 2022 20:54:57 +0000 (22:54 +0200)
* Remove unused import
* Provide module docstring

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
test/py/tests/test_efi_secboot/conftest.py

index db6b8d301f851d6685ba401c5e6404196d6306aa..406131cb45e87127390e6438ff76105166ab5453 100644 (file)
@@ -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.