[dts] [PATCH V1] tests/dynamic_queue: need not import sniff_packets and load_sniff_packets

Tu, Lijuan lijuan.tu at intel.com
Wed Oct 24 10:19:13 CEST 2018


Applied, thanks

> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of wenjieli
> Sent: Wednesday, October 24, 2018 1:07 PM
> To: dts at dpdk.org
> Cc: Li, WenjieX A <wenjiex.a.li at intel.com>
> Subject: [dts] [PATCH V1] tests/dynamic_queue: need not import
> sniff_packets and load_sniff_packets
> 
> this test suite doesn’t use sniffer code, “from packet import Packet” is
> enough; will not import sniff_packets and load_sniff_packets from packet
> any more.
> 
> Signed-off-by: wenjieli <wenjiex.a.li at intel.com>
> ---
>  tests/TestSuite_dynamic_queue.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tests/TestSuite_dynamic_queue.py
> b/tests/TestSuite_dynamic_queue.py
> index 05f1d17..f155686 100644
> --- a/tests/TestSuite_dynamic_queue.py
> +++ b/tests/TestSuite_dynamic_queue.py
> @@ -6,7 +6,7 @@ import utils
>  from test_case import TestCase
>  from pmd_output import PmdOutput
>  from settings import get_nic_name
> -from packet import Packet, sniff_packets, load_sniff_packets
> +from packet import Packet
>  import random
> 
>  test_loop = 3
> --
> 2.17.2



More information about the dts mailing list