From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D6553C433F5 for ; Wed, 5 Oct 2022 07:03:02 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id AB83D84E09; Wed, 5 Oct 2022 09:03:00 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="Dg1NWwO8"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 974AE84E2B; Wed, 5 Oct 2022 09:02:58 +0200 (CEST) Received: from mail-ej1-x62d.google.com (mail-ej1-x62d.google.com [IPv6:2a00:1450:4864:20::62d]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 2B7898419C for ; Wed, 5 Oct 2022 09:02:56 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=ilias.apalodimas@linaro.org Received: by mail-ej1-x62d.google.com with SMTP id a2so13376975ejx.10 for ; Wed, 05 Oct 2022 00:02:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date; bh=6XaWnqIQouwyWCcFdibTn2dBkTYoHG0i2xYGrgVvQt8=; b=Dg1NWwO849FNavO26sH7n/T+fcyV8FsFz/7I8OaB+C1S6Lj7oOKDP+8PDLU+aFSNyj LcW2FrGbz5w89QBv19+ZaWEbfmX7dVMyMIKX+eoqzw65hH9fx4+y3yBLU/cAZcIylKCC iAGRX0ayCbgDcuhBwkALLfQQ1shXSKE4/8GjgMC0xquwJfp3rO8ERe4HxrUYjf4U9/Jc VTpwClkwZlR0Buf4rDJMHPJW3PfrQjW2Y77Qih/pBr1SFg9sfy2Z/w3AuJFyirpqaWSs QLS3ZeVePU5QP6pmP5eQpIcbQFRsAcNX6LneO+GDcd3/GPpA/bOsq0+wLG3JJZY44kEH 0LGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date; bh=6XaWnqIQouwyWCcFdibTn2dBkTYoHG0i2xYGrgVvQt8=; b=XQsrmLXPyGkKXiK2XKAqIwK+EqZuSlYr99czlMhNruKQsKltro04Wo7J+EnSOlFYGo EEUos8pFG8Xlc4bbkxeudEHojv+QEy4jXU8GRqO6t/ufw0BkzH7leotfiIW9nVYk00pZ iP0FdYHWbaDouL8dzXNQqgc1FDPYIm+siuG+KebScq/SXT1w4U1nyHo+GZvcLlmFDpFP +Rgb6KsMTdEPuW+fwwdnJCw64ZJEbP0Lg79GG1Zk8GrTBiqZQF2aWgrBgz3i2v0W3DN8 SFnLpIQKYZ1aHP8dUPaRFAVYgKs/qFQkRSVqjpUyHRWWZJojZ5Dh10fK0U8g+vg1iTZN 2XBQ== X-Gm-Message-State: ACrzQf0uZAK6K8z8DK9RcDUJeUQbx3gqf2synUy8SQ8IwTWLdamYVU7I QX+tSRwZEnYMptDxpqsXUqJDHA== X-Google-Smtp-Source: AMsMyM6ciT9Mx0VkDvpajeQ5/krqPFG+3V+B88y/SEjgGa3lLv6yfo6erj7NUXZ5xMlxly3NTehp8Q== X-Received: by 2002:a17:907:2d9e:b0:782:69f2:a0ec with SMTP id gt30-20020a1709072d9e00b0078269f2a0ecmr21558454ejc.680.1664953375783; Wed, 05 Oct 2022 00:02:55 -0700 (PDT) Received: from hades (ppp046103015185.access.hol.gr. [46.103.15.185]) by smtp.gmail.com with ESMTPSA id r5-20020aa7d585000000b00459148fbb3csm3091803edq.86.2022.10.05.00.02.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Oct 2022 00:02:55 -0700 (PDT) Date: Wed, 5 Oct 2022 10:02:53 +0300 From: Ilias Apalodimas To: Heinrich Schuchardt Cc: u-boot@lists.denx.de Subject: Re: [PATCH 1/1] test: fix some pylint errors in test_efi_secboot Message-ID: References: <20221001185709.26980-1-heinrich.schuchardt@canonical.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221001185709.26980-1-heinrich.schuchardt@canonical.com> X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean On Sat, Oct 01, 2022 at 08:57:09PM +0200, Heinrich Schuchardt wrote: > * Remove unused import > * Provide module docstring > > Signed-off-by: Heinrich Schuchardt > --- > 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 > > -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