test: consolidate the multiple versions of send_and_*
Change-Id: I7fa7d0ebf73dab8264a2e5ddbd412600d78ead05 Signed-off-by: Neale Ranns <nranns@cisco.com>
This commit is contained in:
@ -132,16 +132,6 @@ class ARPTestCase(VppTestCase):
|
||||
self.assertEqual(ip.src, sip)
|
||||
self.assertEqual(ip.dst, dip)
|
||||
|
||||
def send_and_assert_no_replies(self, intf, pkts, remark):
|
||||
intf.add_stream(pkts)
|
||||
self.pg_enable_capture(self.pg_interfaces)
|
||||
self.pg_start()
|
||||
timeout = 1
|
||||
for i in self.pg_interfaces:
|
||||
i.get_capture(0, timeout=timeout)
|
||||
i.assert_nothing_captured(remark=remark)
|
||||
timeout = 0.1
|
||||
|
||||
def test_arp(self):
|
||||
""" ARP """
|
||||
|
||||
|
Reference in New Issue
Block a user