tests: send packet output to log - test_punt.py
Move output to log.txt. 11:51:58,111 Verifying against 3 packets in verify_udp_pkts. 11:51:58,111 ###[ Ethernet ]### dst = 02:fe:4c:62:06:e5 src = 02:01:00:00:ff:02 type = 0x800 \###[ IP ]### version = 4 ihl = 5 tos = 0x0 len = 128 ... Type: test Change-Id: Iebaf34c2ac16e7fa8dffbdeadf18ab6c5f4c7494 Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
This commit is contained in:

committed by
Neale Ranns

parent
c257e07621
commit
7d7e3e807c
@ -141,7 +141,6 @@ class TestPuntSocket(VppTestCase):
|
||||
def verify_udp_pkts(self, rxs, n_rx, port):
|
||||
n_match = 0
|
||||
for rx in rxs:
|
||||
rx.show()
|
||||
self.assertTrue(rx.haslayer(UDP))
|
||||
if rx[UDP].dport == port:
|
||||
n_match += 1
|
||||
|
Reference in New Issue
Block a user