From patchwork Fri Mar 11 02:00:17 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jun Dong X-Patchwork-Id: 108672 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 0166DA00BE; Fri, 11 Mar 2022 03:00:53 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E70D441140; Fri, 11 Mar 2022 03:00:52 +0100 (CET) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id B47AB40042 for ; Fri, 11 Mar 2022 03:00:51 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1646964051; x=1678500051; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=8W/t1PmfJFPttBztXk6uJCKjpsVsEHZ0rbPPnn171Uo=; b=EL7KRd0MlEk3qi8k6c1KxrBayPXXucJqf1yhe5n3uQCikVyVKmZjaRex pmmNx41OqG1dHPcXgmAcUvjN5KJdZXeOrIMWhV0eyjrfGivbsqC3LA0jZ hdhcb/Xs5Ptuw9DuJHH8WfT+RSeOivlweIjbrMEEivEcylb4KQ8z5Dtud Uy2IVCxRl5tIsU0M3MXKvh8JwZyT1xkm+bIVVVEw2pWLcRsvQEIBGcQJz dUKqwMAoQy3xyyW29v2jQsOuktcn0HAbF2DOORHwSpWXiPRlh5l4RrfyX 5B+asYIAcsHP8oKGuwABijltdXnHYsazJICvC4dg8e0aJoihKLYDiGL2n Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10282"; a="255421856" X-IronPort-AV: E=Sophos;i="5.90,172,1643702400"; d="scan'208";a="255421856" 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:31 -0800 X-IronPort-AV: E=Sophos;i="5.90,172,1643702400"; d="scan'208";a="633256316" 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:29 -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 1/5] framework/ixia_network/ixnet: fix pylama errors Date: Fri, 11 Mar 2022 10:00:17 +0800 Message-Id: <20220311020022.6678-2-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 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: framework/ixia_network/ixnet.py:703: [E] E1101 Instance of 'IxnetTrafficGenerator' has no 'OUTPUT_DIR' member [pylint] Signed-off-by: Jun Dong --- framework/ixia_network/ixnet.py | 1 + 1 file changed, 1 insertion(+) diff --git a/framework/ixia_network/ixnet.py b/framework/ixia_network/ixnet.py index 479b4448..4e066216 100644 --- a/framework/ixia_network/ixnet.py +++ b/framework/ixia_network/ixnet.py @@ -68,6 +68,7 @@ class IxnetTrafficGenerator(object): # initialize ixNetwork self.new_blank_config() self.tg_vports = self.assign_ports(self.tg_ports) + self.OUTPUT_DIR = None def get_session_id(self, api_server): url = '{server}/api/v1/sessions'.format(server=api_server) From patchwork Fri Mar 11 02:00:18 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jun Dong X-Patchwork-Id: 108673 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 20E01A0093; Fri, 11 Mar 2022 03:00:54 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1B5A741143; Fri, 11 Mar 2022 03:00:54 +0100 (CET) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id 72C4740E78 for ; Fri, 11 Mar 2022 03:00:52 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1646964052; x=1678500052; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=Wzr7+zK+hQ6tgLYsSZsxhJs1AEi8qLAHBuvYtwHmOF0=; b=KtDcBadYB59JnwSoojhYYJup/tdOnJZ4jPjtirg0v72HuwTM3TGWiw1q NNByZdPAmTfXD0qa8tdbF5g1CCrVPuqUPA0IS73DOQyfeNwUwY8zxHKsC b7HxWir4KvyesJT8E0zjDcDD3ceOktEe/UQPkDXcvmjGUQEgWvevsgLHO fxR65H10d8QBYmGut+jSD49tNUXvHWXXeG1DO6/xxgkrDnqJOZFx/DVM3 PcYBZyiSLH1dxu/MnsAEIl7sWwrr0pMo6OF+CfwGV99vbgZbJPmAkMdYc GCXRqbmpjNqp/26kJaVh7ZMMlxiI6YKh3mQOANsaUUeahW7iEZOFh/sfj g==; X-IronPort-AV: E=McAfee;i="6200,9189,10282"; a="255421874" X-IronPort-AV: E=Sophos;i="5.90,172,1643702400"; d="scan'208";a="255421874" 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:33 -0800 X-IronPort-AV: E=Sophos;i="5.90,172,1643702400"; d="scan'208";a="633256373" 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:31 -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 2/5] framework/pktgen_ixia_network: fix pylama errors Date: Fri, 11 Mar 2022 10:00:18 +0800 Message-Id: <20220311020022.6678-3-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 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: framework/pktgen_ixia_network.py:70: [E] E0401 Unable to import 'ixia_network' [pylint] Signed-off-by: Jun Dong --- framework/pktgen_ixia_network.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/pktgen_ixia_network.py b/framework/pktgen_ixia_network.py index 3a58abe5..2049d188 100644 --- a/framework/pktgen_ixia_network.py +++ b/framework/pktgen_ixia_network.py @@ -67,7 +67,7 @@ class IxNetworkPacketGenerator(PacketGenerator): def _connect(self, conf): # initialize ixNetwork class - from ixia_network import IxNetwork + from framework.ixia_network import IxNetwork self._conn = IxNetwork(self.pktgen_type, conf, self.logger) for p in self._conn.get_ports(): self._ports.append(p) From patchwork Fri Mar 11 02:00:19 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jun Dong X-Patchwork-Id: 108674 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 44F2EA0093; Fri, 11 Mar 2022 03:00:57 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3E41641152; Fri, 11 Mar 2022 03:00:57 +0100 (CET) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id 9E9064113E for ; Fri, 11 Mar 2022 03:00:55 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1646964055; x=1678500055; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=PE8a9U4UV4qv6N/BW+bZ/d7O3XKK+8hTIAt2MUuxc68=; b=ZNnYSpeWU2w8/99mSCyDli/Qf0SRb+lZPooSZ4HyN9qwucIRlyH+jweH fFaGIxnLBL9MuqwewSvpTYrHrG9PCCVYM/zFd5309i6+ErW9ALx0e8azG ++Pw69qVLCiyzwhm5HIfSVKIVrifQELhe9CIRHrPgT7PhZC/CfJwhdc7D 6uYWHEf2eii9+2OEy/xWfALLEl+fqWNdfugrvQIAy4OoBXq45Yx68u+MS 89ivCs31sAzyO6OQndfKsIsFOBKGC0MULN+pTcELdgQw1ikB8m6WEecfy YCrmyeFIZ8pwAF4mxsUZXzF//zznHy98tM28+L6CxfW7sJjTIxDIgRHn9 w==; X-IronPort-AV: E=McAfee;i="6200,9189,10282"; a="255421900" X-IronPort-AV: E=Sophos;i="5.90,172,1643702400"; d="scan'208";a="255421900" 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:36 -0800 X-IronPort-AV: E=Sophos;i="5.90,172,1643702400"; d="scan'208";a="633256431" 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:34 -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 3/5] framework/tester: fix pylama errors Date: Fri, 11 Mar 2022 10:00:19 +0800 Message-Id: <20220311020022.6678-4-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 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: framework/tester.py:249: [E] E1136 Value 'self.duts' is unsubscriptable [pylint] framework/tester.py:261: [E] E1133 Non-iterable value self.duts is used in an iterating context [pylint] Signed-off-by: Jun Dong --- framework/tester.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/tester.py b/framework/tester.py index ff3ecb61..8380ccf8 100644 --- a/framework/tester.py +++ b/framework/tester.py @@ -85,7 +85,7 @@ class Tester(Crb): check_crb_python_version(self) self.bgProcIsRunning = False - self.duts = None + self.duts = [] self.inBg = 0 self.scapyCmds = [] self.bgCmds = [] From patchwork Fri Mar 11 02:00:20 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jun Dong X-Patchwork-Id: 108675 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org 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 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): """ From patchwork Fri Mar 11 02:00:21 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jun Dong X-Patchwork-Id: 108676 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 92888A0093; Fri, 11 Mar 2022 03:01:00 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8843B4113E; Fri, 11 Mar 2022 03:01:00 +0100 (CET) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id 3896E4113E for ; Fri, 11 Mar 2022 03:00:57 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1646964057; x=1678500057; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=jjAcTMlU+ho9uZoVT/epsZxeBCvApo2hh26bFrWRhkA=; b=YA+LwuzffOEap2t84Uj2mCLKhHgRkwpKClmTuKvlb0AGA/fmt68qWMtc 0BOXxMTeuxybzEqNrLND8UztUq7aUQVI4LFbOMxEsB8TAYWYJtW9ZL5xg gD0A8QLOqA4csk5QT3jLpNDh9j88tpg4ChtOgaLQhvypGAsbWY29uEg6e KbqD7Imtq4Jtv1b2T5DyO5YVefRMRYOFJST7X2+wgu4X1vUlAXdhIxWqY u1kYLzFrjbARDgF1KTIzzRDC+E9zk/g/sUGASY8iMAxv6M60ZI2V93qtW jJZBVi/kkop5h6JxFWtBBLnE0+EXYhmGHqgPWy+ovUBZ8fRlMoiPNRS5N A==; X-IronPort-AV: E=McAfee;i="6200,9189,10282"; a="255421933" X-IronPort-AV: E=Sophos;i="5.90,172,1643702400"; d="scan'208";a="255421933" 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:40 -0800 X-IronPort-AV: E=Sophos;i="5.90,172,1643702400"; d="scan'208";a="633256560" 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:38 -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 5/5] tests/TestSuite_stats_checks: fix pylama errors Date: Fri, 11 Mar 2022 10:00:21 +0800 Message-Id: <20220311020022.6678-6-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 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_stats_checks.py:265: [E] E0102 method already defined line 65 [pylint] tests/TestSuite_stats_checks.py:271: [E] E0102 method already defined line 71 [pylint] Signed-off-by: Jun Dong --- tests/TestSuite_stats_checks.py | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/tests/TestSuite_stats_checks.py b/tests/TestSuite_stats_checks.py index ab120010..e72a67ab 100644 --- a/tests/TestSuite_stats_checks.py +++ b/tests/TestSuite_stats_checks.py @@ -48,7 +48,6 @@ from framework.test_case import TestCase ETHER_HEADER_LEN = 18 IP_HEADER_LEN = 20 -ETHER_STANDARD_MTU = 1518 RANDOM_IP_POOL = ['192.168.10.222/0'] prefix_list = ['rx_good_packets', 'tx_good_packets', 'rx_good_bytes', 'tx_good_bytes'] @@ -62,21 +61,6 @@ class TestStatsChecks(TestCase): # of TestCase. This was done because the current test system doesn't support # inheritance. # - 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.tester.send_expect(f"ifconfig {self.tester.get_interface(self.tester.get_local_port(self.rx_port))} " + - f"mtu {ETHER_STANDARD_MTU}", "# ") - super().tear_down_all() - def exec(self, command: str) -> str: """ An abstraction to remove repeated code throughout the subclasses of this class @@ -275,12 +259,6 @@ class TestStatsChecks(TestCase): """ self.dut.kill_all() - # - # - # - # Test cases. - # - def test_stats_checks(self): self.pmdout.start_testpmd("Default") self.exec("port start all")