[dts] [V1 4/5] tests/TestSuite_mtu_update: fix pylama errors
Jun Dong
junx.dong at intel.com
Fri Mar 11 03:00:20 CET 2022
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 at 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
More information about the dts
mailing list