X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=test%2Ftest_tcp.py;h=393813c4dbb0fe452bc4b93521e4a68d4ac22a6b;hb=7f9b7f9f492d1748d8ba025b3a713058fdb1943d;hp=c5366282838a998dbfb79a1683c0b4520f0c8400;hpb=2e1c8967faf4e9f7b45471df02e4e5b07fbb520a;p=vpp.git 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)