diff options
Diffstat (limited to 'test/test_tcp.py')
-rw-r--r-- | test/test_tcp.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/test_tcp.py b/test/test_tcp.py index c5366282838..393813c4dbb 100644 --- a/test/test_tcp.py +++ b/test/test_tcp.py @@ -13,6 +13,10 @@ class TestTCP(VppTestCase): def setUpClass(cls): super(TestTCP, cls).setUpClass() + @classmethod + def tearDownClass(cls): + super(TestTCP, cls).tearDownClass() + def setUp(self): super(TestTCP, self).setUp() self.vapi.session_enable_disable(is_enabled=1) @@ -83,6 +87,14 @@ class TestTCP(VppTestCase): class TestTCPUnitTests(VppTestCase): "TCP Unit Tests" + @classmethod + def setUpClass(cls): + super(TestTCPUnitTests, cls).setUpClass() + + @classmethod + def tearDownClass(cls): + super(TestTCPUnitTests, cls).tearDownClass() + def setUp(self): super(TestTCPUnitTests, self).setUp() self.vapi.session_enable_disable(is_enabled=1) |