test suite reviews and discussions
 help / color / mirror / Atom feed
From: Jun Dong <junx.dong@intel.com>
To: dts@dpdk.org
Cc: lijuan.tu@intel.com, qingx.sun@intel.com, junx.dong@intel.com
Subject: [V1] framework/*: fix pylama errors
Date: Fri,  6 May 2022 16:25:31 +0800
Message-ID: <20220506082531.2009-1-junx.dong@intel.com> (raw)

Pylama found the following errors:
framework/virt_dut.py:87: [E] E1101 Instance of 'VirtDut' has no 'host_dut' member [pylint]
framework/virt_dut.py:88: [E] E1101 Instance of 'VirtDut' has no 'host_dut' member [pylint]
framework/virt_dut.py:119: [E] E1101 Instance of 'VirtDut' has no 'host_dut' member [pylint]
framework/virt_dut.py:124: [E] E1101 Instance of 'VirtDut' has no 'host_dut' member [pylint]
framework/virt_dut.py:356: [E] E1101 Instance of 'VirtDut' has no 'host_dut' member [pylint]

Signed-off-by: Jun Dong <junx.dong@intel.com>
 framework/virt_base.py | 1 -
 framework/virt_dut.py  | 1 +
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/framework/virt_base.py b/framework/virt_base.py
index d4af8b98..93f77e5e 100644
--- a/framework/virt_base.py
+++ b/framework/virt_base.py
@@ -475,7 +475,6 @@ class VirtBase(object):
         vm_dut.nic_type = "any"
         vm_dut.tester = self.host_dut.tester
-        vm_dut.host_dut = self.host_dut
         vm_dut.host_session = self.host_session
         vm_dut.migration_vm = self.migration_vm
diff --git a/framework/virt_dut.py b/framework/virt_dut.py
index 369abacf..45b495a0 100644
--- a/framework/virt_dut.py
+++ b/framework/virt_dut.py
@@ -65,6 +65,7 @@ class VirtDut(DPDKdut):
         self.vm_name = vm_name
         self.hyper = hyper
+        self.host_dut = hyper.host_dut
         self.cpu_topo = cpu_topo
         self.migration_vm = False

             reply	other threads:[~2022-05-06  8:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-06  8:25 Jun Dong [this message]
2022-05-09  7:40 ` lijuan.tu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220506082531.2009-1-junx.dong@intel.com \
    --to=junx.dong@intel.com \
    --cc=dts@dpdk.org \
    --cc=lijuan.tu@intel.com \
    --cc=qingx.sun@intel.com \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

test suite reviews and discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://inbox.dpdk.org/dts/0 dts/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dts dts/ http://inbox.dpdk.org/dts \
	public-inbox-index dts

Example config snippet for mirrors.
Newsgroup available over NNTP:

AGPL code for this site: git clone https://public-inbox.org/public-inbox.git