summaryrefslogtreecommitdiffstats
path: root/test/test_l3xc.py
diff options
context:
space:
mode:
authorNeale Ranns <neale@graphiant.com>2022-02-17 09:22:16 +0000
committerNeale Ranns <neale@graphiant.com>2022-02-18 09:20:40 +0000
commit699bea24944907fed5f7516e339aa2eca7c2dd17 (patch)
tree2088543dfa2900a09313501df65aefcd971420db /test/test_l3xc.py
parentaacd3ed6d5c9c32b646795583a634ca5925603d2 (diff)
tests: Consolidate the implementations of send_and_expect_X
Type: test there were multiple instances of send_and_expect_load_balancing and a send_and_expect_one_itf which has the same functionality as send_and_expect_one. Put one implementation of both in framework.py (where the other send_and_X functions reside). Signed-off-by: Neale Ranns <neale@graphiant.com> Change-Id: I7f629d440220bee29368067f475059322e1134f7
Diffstat (limited to 'test/test_l3xc.py')
-rw-r--r--test/test_l3xc.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/test/test_l3xc.py b/test/test_l3xc.py
index d7a82976cf5..2bcb6d5ae23 100644
--- a/test/test_l3xc.py
+++ b/test/test_l3xc.py
@@ -90,16 +90,6 @@ class TestL3xc(VppTestCase):
i.admin_down()
super(TestL3xc, self).tearDown()
- def send_and_expect_load_balancing(self, input, pkts, outputs):
- self.pg_send(input, pkts)
- rxs = []
- for oo in outputs:
- rx = oo._get_capture(1)
- self.assertNotEqual(0, len(rx))
- for r in rx:
- rxs.append(r)
- return rxs
-
def test_l3xc4(self):
""" IPv4 X-Connect """