From nobody Mon Feb 9 08:10:13 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) client-ip=216.205.24.124; envelope-from=philmd@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1632762193; cv=none; d=zohomail.com; s=zohoarc; b=mXPnc7RLCLqIhWxFLrax+Fp0TgNIiBuHtokfVDYIAh6ILZiADTis5W2VKWxBzfNirfxx2k8ZYSwSkb180jsL4VKrrbB+yxnGjzINt9gi5S1Wuc3AZLL3+QwWWyN0xVq+GgJIvkncBG+lv8YZC9n2RB5RuEEd7dxszN4o0Hxsx0Q= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1632762193; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=IKfiq28KwaCW2FhO3C3XMBnTMqiuEqzPEChSBk4TZWs=; b=bKGVZ2vDbRV8h3yQrhOGwaSmMwEbiJl2cCYllMi7x/gJcw7XRcsEo+CdEEpZJki4KteWeEg+UuYh7qyvIhgYDbZ1wNtHTeKgIR2pJ+5rWkEIHPSJVa9yty5fcTQbrOJ0XcxU7t3nHw6U0G/BNcC+QCcgwa3MmXTFdr5mSg70wNg= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass header.from= (p=none dis=none) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mx.zohomail.com with SMTPS id 1632762193148125.18983340221644; Mon, 27 Sep 2021 10:03:13 -0700 (PDT) Received: from mail-wr1-f72.google.com (mail-wr1-f72.google.com [209.85.221.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-549-Q2aTZSg4ON2nZiNeod6Q9Q-1; Mon, 27 Sep 2021 13:03:10 -0400 Received: by mail-wr1-f72.google.com with SMTP id x7-20020a5d6507000000b0015dada209b1so14278645wru.15 for ; Mon, 27 Sep 2021 10:03:10 -0700 (PDT) Return-Path: Return-Path: Received: from x1w.redhat.com (118.red-83-35-24.dynamicip.rima-tde.net. [83.35.24.118]) by smtp.gmail.com with ESMTPSA id q7sm18273195wrc.55.2021.09.27.10.03.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Sep 2021 10:03:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1632762192; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=IKfiq28KwaCW2FhO3C3XMBnTMqiuEqzPEChSBk4TZWs=; b=BmK0aulEtcW9ylMHUtnDXwhdR1vCljuzGak4gMwreAoRT0DZz91LQ3pEsYtNzOthV47c1E i+Dnh//tanBq5wkLgbZPpIzId1IPKsvBs1mlC07Ms+9eQxf4AjggIgVgIHCqwO+/VPMcbw KJqz2KWE75G9nPKqpaySevpf1glhry8= X-MC-Unique: Q2aTZSg4ON2nZiNeod6Q9Q-1 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=IKfiq28KwaCW2FhO3C3XMBnTMqiuEqzPEChSBk4TZWs=; b=DxzfPFVbtJ4h0hoj8qIuvcxOtzRUN1OLR4gNYb2b8qkGH9LZF0TSwun3hEjuLV0KNS fcI1iqfpVQpwdVpxFMWWt1C6/j3jcum9RiZm4oGcAs66Dcl7I+Rbnd3JJPQIv6xhT9mI WGQ7s9hmrFcIzlRComoMm6c6OnYYv2o7VVk872h5Niy8mTjV6E1WTxqvREVry2Y3xhpG lvSTRJP8rWkf5MnJEccz2FoY9a0f3XVYUbyn+pjnA12RV6520N44X0HW5dDXw3YhRcE4 avcvtkIaNByK6CCBQOztsLCpM0MPl90U24OgpZtOhjEtdxFfJl0olNyb9cau/O5vpz0L Hfmw== X-Gm-Message-State: AOAM532wS12n9DFjQji6Bs87YbXw8ApuvD7Ir+7D74jS9ZBfXuFcup8b F+MkTuqceOWkorwRYhThCws/bf3hnzTKmQZbM57OvBBT0jnzzbW1NnjrwUOjN1RVO+fgERveNzZ 4uIl46Tqlb/5i+g== X-Received: by 2002:a05:6000:1787:: with SMTP id e7mr1102257wrg.202.1632762189484; Mon, 27 Sep 2021 10:03:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzp23u46G61pMWo8e2AbguEBwJJezhNyKsx7v3kFzOig2GYu9ZwZ4Pu3/qwGOpiI9m2QbwULw== X-Received: by 2002:a05:6000:1787:: with SMTP id e7mr1102231wrg.202.1632762189281; Mon, 27 Sep 2021 10:03:09 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Willian Rampazzo , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PULL 09/21] avocado_qemu: fix import module based on isort Date: Mon, 27 Sep 2021 19:02:15 +0200 Message-Id: <20210927170227.2014482-10-philmd@redhat.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210927170227.2014482-1-philmd@redhat.com> References: <20210927170227.2014482-1-philmd@redhat.com> MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=philmd@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1632762194280100001 From: Willian Rampazzo Signed-off-by: Willian Rampazzo Signed-off-by: Philippe Mathieu-Daud=C3=A9 Message-Id: <20210920204932.94132-4-willianr@redhat.com> --- tests/acceptance/avocado_qemu/__init__.py | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/tests/acceptance/avocado_qemu/__init__.py b/tests/acceptance/a= vocado_qemu/__init__.py index d2077d63cda..edb9ed74852 100644 --- a/tests/acceptance/avocado_qemu/__init__.py +++ b/tests/acceptance/avocado_qemu/__init__.py @@ -12,19 +12,13 @@ import os import shutil import sys -import uuid import tempfile +import uuid =20 import avocado - -from avocado.utils import cloudinit -from avocado.utils import datadrainer -from avocado.utils import network -from avocado.utils import ssh -from avocado.utils import vmimage +from avocado.utils import cloudinit, datadrainer, network, ssh, vmimage from avocado.utils.path import find_command =20 - #: The QEMU build root directory. It may also be the source directory #: if building from the source dir, but it's safer to use BUILD_DIR for #: that purpose. Be aware that if this code is moved outside of a source @@ -42,11 +36,9 @@ sys.path.append(os.path.join(SOURCE_DIR, 'python')) =20 from qemu.machine import QEMUMachine -from qemu.utils import ( - get_info_usernet_hostfwd_port, - kvm_available, - tcg_available, -) +from qemu.utils import (get_info_usernet_hostfwd_port, kvm_available, + tcg_available) + =20 def is_readable_executable_file(path): return os.path.isfile(path) and os.access(path, os.R_OK | os.X_OK) --=20 2.31.1