[V1,4/5] tests/TestSuite_mtu_update: fix pylama errors

Message ID 20220311020022.6678-5-junx.dong@intel.com (mailing list archive)
State Accepted
Headers
Series fix pylama errors |

Commit Message

Jun Dong March 11, 2022, 2 a.m. UTC
  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(-)
  

Patch

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):
         """