From 52fae862646e25bac6d1cd11b9fc7ac77299bc25 Mon Sep 17 00:00:00 2001 From: Neale Ranns Date: Mon, 8 Jan 2018 04:41:42 -0800 Subject: test: consolidate the multiple versions of send_and_* Change-Id: I7fa7d0ebf73dab8264a2e5ddbd412600d78ead05 Signed-off-by: Neale Ranns --- test/test_dvr.py | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'test/test_dvr.py') diff --git a/test/test_dvr.py b/test/test_dvr.py index e8a9c04a1bb..e7b68db2ac7 100644 --- a/test/test_dvr.py +++ b/test/test_dvr.py @@ -36,23 +36,6 @@ class TestDVR(VppTestCase): super(TestDVR, self).tearDown() - def send_and_assert_no_replies(self, intf, pkts): - self.vapi.cli("clear trace") - intf.add_stream(pkts) - self.pg_enable_capture(self.pg_interfaces) - self.pg_start() - for i in self.pg_interfaces: - i.get_capture(0) - i.assert_nothing_captured() - - def send_and_expect(self, input, pkts, output): - self.vapi.cli("clear trace") - input.add_stream(pkts) - self.pg_enable_capture(self.pg_interfaces) - self.pg_start() - rx = output.get_capture(len(pkts)) - return rx - def assert_same_mac_addr(self, tx, rx): t_eth = tx[Ether] for p in rx: -- cgit 1.2.3-korg