From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id DB1842934 for ; Wed, 14 Dec 2016 09:04:26 +0100 (CET) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga103.fm.intel.com with ESMTP; 14 Dec 2016 00:04:25 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,345,1477983600"; d="scan'208";a="1081615338" Received: from stv-crb-56.sh.intel.com (HELO [10.239.128.116]) ([10.239.128.116]) by fmsmga001.fm.intel.com with ESMTP; 14 Dec 2016 00:04:24 -0800 Message-ID: <5850FC77.3090007@intel.com> Date: Wed, 14 Dec 2016 16:01:59 +0800 From: "Liu, Yong" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: "xu,gang" , dts@dpdk.org References: <1481247599-26262-1-git-send-email-gangx.xu@intel.com> In-Reply-To: <1481247599-26262-1-git-send-email-gangx.xu@intel.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [dts] [PATCH V1] fix object has no attribute error 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: Wed, 14 Dec 2016 08:04:27 -0000 Thanks, applied. On 12/09/2016 09:39 AM, xu,gang wrote: > Signed-off-by: xu,gang > --- > tests/TestSuite_rxtx_callbacks.py | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/tests/TestSuite_rxtx_callbacks.py b/tests/TestSuite_rxtx_callbacks.py > index be79e56..dd968a4 100644 > --- a/tests/TestSuite_rxtx_callbacks.py > +++ b/tests/TestSuite_rxtx_callbacks.py > @@ -41,7 +41,6 @@ from test_case import TestCase > from plotting import Plotting > from settings import HEADER_SIZE > from etgen import IxiaPacketGenerator > - > from packet import Packet, sniff_packets, load_sniff_packets > > > @@ -56,7 +55,7 @@ class TestRxtxCallbacks(TestCase): > self.verify(len(self.dut_ports) >= 2, "Insufficient ports") > > cores = self.dut.get_core_list("1S/2C/1T") > - utils.create_mask(cores) > + self.coremask = utils.create_mask(cores) > > self.mac = self.dut.get_mac_address(self.dut_ports[0]) > self.path = "./examples/rxtx_callbacks/build/rxtx_callbacks"