From: Jun Dong <junx.dong@intel.com>
To: dts@dpdk.org, ohilyard@iol.unh.edu
Cc: lijuan.tu@intel.com, qingx.sun@intel.com, junx.dong@intel.com
Subject: [dts] [V1 4/5] tests/TestSuite_mtu_update: fix pylama errors
Date: Fri, 11 Mar 2022 10:00:20 +0800 [thread overview]
Message-ID: <20220311020022.6678-5-junx.dong@intel.com> (raw)
In-Reply-To: <20220311020022.6678-1-junx.dong@intel.com>
Pylama found the following errors:
tests/TestSuite_mtu_update.py:178: [E] E0102 method already defined line 68 [pylint]
tests/TestSuite_mtu_update.py:184: [E] E0102 method already defined line 74 [pylint]
Signed-off-by: Jun Dong <junx.dong@intel.com>
---
tests/TestSuite_mtu_update.py | 18 ------------------
1 file changed, 18 deletions(-)
diff --git a/tests/TestSuite_mtu_update.py b/tests/TestSuite_mtu_update.py
index a3cad5c7..e6062202 100644
--- a/tests/TestSuite_mtu_update.py
+++ b/tests/TestSuite_mtu_update.py
@@ -175,19 +175,6 @@ class TestMtuUpdate(TestCase):
"""
self.dut.kill_all()
- def tear_down(self):
- """
- Run after each test case.
- """
- self.dut.kill_all()
-
- def tear_down_all(self):
- """
- When the case of this test suite finished, the environment should
- clear up.
- """
- self.dut.kill_all()
-
def admin_tester_port(self, local_port, status):
"""
Do some operations to the network interface port, such as "up" or "down".
@@ -211,11 +198,6 @@ class TestMtuUpdate(TestCase):
"""
self.admin_tester_port(self.tester.get_local_port(self.tx_port), f"mtu {mtu:d}")
self.admin_tester_port(self.tester.get_local_port(self.rx_port), f"mtu {mtu:d}")
- #
- #
- #
- # Test cases.
- #
def helper_test_mut_checks(self, packet_size):
"""
--
2.25.1
next prev parent reply other threads:[~2022-03-11 2:00 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-11 2:00 [dts] [V1 0/5] " Jun Dong
2022-03-11 2:00 ` [dts] [V1 1/5] framework/ixia_network/ixnet: " Jun Dong
2022-03-11 2:00 ` [dts] [V1 2/5] framework/pktgen_ixia_network: " Jun Dong
2022-03-11 2:00 ` [dts] [V1 3/5] framework/tester: " Jun Dong
2022-03-11 2:00 ` Jun Dong [this message]
2022-03-11 2:00 ` [dts] [V1 5/5] tests/TestSuite_stats_checks: " Jun Dong
2022-03-11 5:14 ` Tu, Lijuan
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:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220311020022.6678-5-junx.dong@intel.com \
--to=junx.dong@intel.com \
--cc=dts@dpdk.org \
--cc=lijuan.tu@intel.com \
--cc=ohilyard@iol.unh.edu \
--cc=qingx.sun@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).