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:
Neale Ranns
2018-01-08 04:41:42 -08:00
committed by Dave Wallace
parent 12bf52bae2
commit 2b97ac55ed
10 changed files with 31 additions and 207 deletions

View File

@ -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