From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 6EB37A00BE; Fri, 11 Mar 2022 03:00:58 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 695CC4113F; Fri, 11 Mar 2022 03:00:58 +0100 (CET) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id 4C00D4113E for ; Fri, 11 Mar 2022 03:00:56 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1646964056; x=1678500056; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=4fpEbiggA5txN1nAqV1WwcIzLfPRd/UYZVpj8cZu3CE=; b=R69F9zsoyZuqxw0paYnQ/uLIFP5UsFtY8/yGO7Uel5jY4pYTO7/Gzwrp 55//SRgsHRF76pgVjOcCqy13wOo6cGEh+An36QOT2om2jy65IOc9OvMbg zIPOWPqMbD98bv2SzhQA48eNQDsteJ60r0j9c7AV2HNn1cBF1zshxsiTq DHkIJS1pv0F1iCfalyq065Y9F6it6lm0fYsdaws6oublKEGWFb2541zRn RD+a46+epAUvN0XvMq9ub8505gjn9My1oRix9QS1yi6RCULPUSzviq1Za +oisLZKQQKHEoVnXx3if/BDAWiHr0o1YSw7O8n/iGUQZhUGpuMR6Lkeag g==; X-IronPort-AV: E=McAfee;i="6200,9189,10282"; a="255421915" X-IronPort-AV: E=Sophos;i="5.90,172,1643702400"; d="scan'208";a="255421915" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Mar 2022 18:00:38 -0800 X-IronPort-AV: E=Sophos;i="5.90,172,1643702400"; d="scan'208";a="633256489" Received: from shwdenpg197.ccr.corp.intel.com ([10.253.109.70]) by fmsmga003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Mar 2022 18:00:36 -0800 From: Jun Dong 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 Message-Id: <20220311020022.6678-5-junx.dong@intel.com> X-Mailer: git-send-email 2.33.1.windows.1 In-Reply-To: <20220311020022.6678-1-junx.dong@intel.com> References: <20220311020022.6678-1-junx.dong@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org 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 --- 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