From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id BFE63152A for ; Sun, 8 Jan 2017 09:08:04 +0100 (CET) Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga103.jf.intel.com with ESMTP; 08 Jan 2017 00:08:03 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,334,1477983600"; d="scan'208";a="50759497" Received: from imail001.iil.intel.com ([10.184.207.12]) by fmsmga005.fm.intel.com with ESMTP; 08 Jan 2017 00:08:02 -0800 Received: from rubyhost.iil.intel.com (rubyhost.iil.intel.com [143.185.141.69]) by imail001.iil.intel.com with ESMTP id v0887xqx007990; Sun, 8 Jan 2017 10:07:59 +0200 From: Rami Rosen To: yong.liu@intel.com Cc: dts@dpdk.org, sunx.jiajia@intel.com, Rami Rosen Date: Sun, 8 Jan 2017 10:08:44 +0200 Message-Id: <1483862924-15626-1-git-send-email-rami.rosen@intel.com> X-Mailer: git-send-email 1.9.1 Subject: [dts] [PATCH] tests: Fix a typo in sriov kvm TestSuite. X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jan 2017 08:08:05 -0000 This patch fixes a typo in sriov kvm TestSuite (use "self" instrad of "slef"). Signed-off-by: Rami Rosen --- tests/TestSuite_sriov_kvm.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/TestSuite_sriov_kvm.py b/tests/TestSuite_sriov_kvm.py index 41af4dd..b74da5e 100644 --- a/tests/TestSuite_sriov_kvm.py +++ b/tests/TestSuite_sriov_kvm.py @@ -469,7 +469,7 @@ class TestSriovKvm(TestCase): self.vm2.stop() self.vm2 = None - if getattr(slef, 'vm3', None): + if getattr(self, 'vm3', None): self.vm3.stop() self.vm3 = None @@ -482,7 +482,7 @@ class TestSriovKvm(TestCase): self.dut.destroy_sriov_vfs_by_port(self.used_dut_port) port = self.ports_info[self.used_dut_port]['port'] port.bind_driver('igb_uio') - slef.used_dut_port = None + self.used_dut_port = None for port_id in self.dut_ports: port = self.dut.ports_info[port_id]['port'] @@ -1247,7 +1247,7 @@ class TestSriovKvm(TestCase): self.destroy_2vm_2vf_env() if self.setup_2vm_2pf_env_flag == 1: - slef.destroy_2vm_2pf_env() + self.destroy_2vm_2pf_env() if self.setup_4vm_prerequisite_flag == 1: self.destroy_four_vm_common_prerequisite() -- 1.9.1