[PATCH 1/1] test: fix some pylint errors in test_efi_secboot

Ilias Apalodimas ilias.apalodimas at linaro.org
Wed Oct 5 09:02:53 CEST 2022


On Sat, Oct 01, 2022 at 08:57:09PM +0200, Heinrich Schuchardt wrote:
> * Remove unused import
> * Provide module docstring
> 
> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
> ---
>  test/py/tests/test_efi_secboot/conftest.py | 12 +++---------
>  1 file 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 db6b8d301f..406131cb45 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 at 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.
> -- 
> 2.37.2
> 

Acked-by: Ilias Apalodimas <ilias.apalodimas at linaro.org>


More information about the U-Boot mailing list