X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=test%2Ftest_udp.py;h=d69052bc93906e1fd834c05fb1c089459ecf567a;hb=cac8f9b7fd9697b1324c6ea5689e056692ec89eb;hp=d0ad23fb230e8737ae462456e7a4bcd9ac62319d;hpb=9a6dafd569db0d0b5dc9d7b5b34b17e3f411a9ee;p=vpp.git diff --git a/test/test_udp.py b/test/test_udp.py index d0ad23fb230..d69052bc939 100644 --- a/test/test_udp.py +++ b/test/test_udp.py @@ -14,6 +14,14 @@ from scapy.contrib.mpls import MPLS class TestUdpEncap(VppTestCase): """ UDP Encap Test Case """ + @classmethod + def setUpClass(cls): + super(TestUdpEncap, cls).setUpClass() + + @classmethod + def tearDownClass(cls): + super(TestUdpEncap, cls).tearDownClass() + def setUp(self): super(TestUdpEncap, self).setUp() @@ -85,7 +93,7 @@ class TestUdpEncap(VppTestCase): # # construct a UDP encap object through each of the peers - # v4 through the first two peears, v6 through the second. + # v4 through the first two peers, v6 through the second. # udp_encap_0 = VppUdpEncap(self, self.pg0.local_ip4, @@ -240,6 +248,10 @@ class TestUDP(VppTestCase): def setUpClass(cls): super(TestUDP, cls).setUpClass() + @classmethod + def tearDownClass(cls): + super(TestUDP, cls).tearDownClass() + def setUp(self): super(TestUDP, self).setUp() self.vapi.session_enable_disable(is_enabled=1)