[dts] [PATCH V1] fix object has no attribute error

Liu, Yong yong.liu at intel.com
Wed Dec 14 09:01:59 CET 2016


Thanks, applied.

On 12/09/2016 09:39 AM, xu,gang wrote:
> Signed-off-by: xu,gang <gangx.xu at intel.com>
> ---
>   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"



More information about the dts mailing list