From 7f9b7f9f492d1748d8ba025b3a713058fdb1943d Mon Sep 17 00:00:00 2001 From: Paul Vinciguerra Date: Tue, 12 Mar 2019 19:23:27 -0700 Subject: Tests Cleanup: Fix missing calls to setUpClass/tearDownClass. Continuation/Part 2 of https://gerrit.fd.io/r/#/c/17092/ Change-Id: Id0122d84eaf2c05d29e5be63a594d5e528ee7c9a Signed-off-by: Paul Vinciguerra --- test/test_udp.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'test/test_udp.py') diff --git a/test/test_udp.py b/test/test_udp.py index 3010a1dd7e1..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() @@ -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) -- cgit 1.2.3-korg