test: consolidate the multiple versions of send_and_*
Change-Id: I7fa7d0ebf73dab8264a2e5ddbd412600d78ead05
Signed-off-by: Neale Ranns <nranns@cisco.com>
(cherry picked from commit 52fae86264
)
This commit is contained in:

committed by
Dave Wallace

parent
12bf52bae2
commit
2b97ac55ed
@ -38,13 +38,6 @@ class TestMAP(VppTestCase):
|
||||
i.unconfig_ip6()
|
||||
i.admin_down()
|
||||
|
||||
def send_and_assert_no_replies(self, intf, pkts, remark):
|
||||
intf.add_stream(pkts)
|
||||
self.pg_enable_capture(self.pg_interfaces)
|
||||
self.pg_start()
|
||||
for i in self.pg_interfaces:
|
||||
i.assert_nothing_captured(remark=remark)
|
||||
|
||||
def send_and_assert_encapped(self, tx, ip6_src, ip6_dst, dmac=None):
|
||||
if not dmac:
|
||||
dmac = self.pg1.remote_mac
|
||||
|
Reference in New Issue
Block a user