From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from foss.arm.com (usa-sjc-mx-foss1.foss.arm.com [217.140.101.70]) by dpdk.org (Postfix) with ESMTP id E13AA4CC0 for ; Tue, 4 Sep 2018 10:30:02 +0200 (CEST) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 6015A1596; Tue, 4 Sep 2018 01:30:02 -0700 (PDT) Received: from phil-VirtualBox.shanghai.arm.com (unknown [10.169.109.153]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 9CED23F614; Tue, 4 Sep 2018 01:30:01 -0700 (PDT) From: Phil Yang Date: Tue, 4 Sep 2018 16:26:28 +0800 Message-Id: <1536049595-22271-15-git-send-email-phil.yang@arm.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1536049595-22271-1-git-send-email-phil.yang@arm.com> References: <1523526771-7437-1-git-send-email-phil.yang@arm.com> <1536049595-22271-1-git-send-email-phil.yang@arm.com> Subject: [dts] [PATCH v5 15/22] tests/vlan_ethertype_config: remove unused sniff_packets 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: Tue, 04 Sep 2018 08:30:03 -0000 From: Phil Yang remove unused sniff_packets import Signed-off-by: Phil Yang Suggested-by: Marvin Liu --- tests/TestSuite_vlan_ethertype_config.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/TestSuite_vlan_ethertype_config.py b/tests/TestSuite_vlan_ethertype_config.py index 1fb30fb..8eba49c 100644 --- a/tests/TestSuite_vlan_ethertype_config.py +++ b/tests/TestSuite_vlan_ethertype_config.py @@ -43,7 +43,6 @@ import utils from test_case import TestCase from pmd_output import PmdOutput -from packet import Packet, sniff_packets, load_sniff_packets from scapy.utils import struct, socket, wrpcap, rdpcap from scapy.layers.inet import Ether, IP, TCP, UDP, ICMP from scapy.layers.l2 import Dot1Q, ARP, GRE @@ -125,7 +124,6 @@ class TestVlanEthertypeConfig(TestCase): # off self.dmac = self.dut.get_mac_address(dutRxPortId) - self.inst = sniff_packets(self.rxItf) pkt = [] if outer_vid < 0 or outer_tpid <= 0: pkt = [ -- 2.7.4