diff options
Diffstat (limited to 'test/test_session.py')
-rw-r--r-- | test/test_session.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/test_session.py b/test/test_session.py index b8ae07440d4..f1a3dcdbef3 100644 --- a/test/test_session.py +++ b/test/test_session.py @@ -13,6 +13,10 @@ class TestSession(VppTestCase): def setUpClass(cls): super(TestSession, cls).setUpClass() + @classmethod + def tearDownClass(cls): + super(TestSession, cls).tearDownClass() + def setUp(self): super(TestSession, self).setUp() @@ -88,6 +92,14 @@ class TestSession(VppTestCase): class TestSessionUnitTests(VppTestCase): """ Session Unit Tests Case """ + @classmethod + def setUpClass(cls): + super(TestSessionUnitTests, cls).setUpClass() + + @classmethod + def tearDownClass(cls): + super(TestSessionUnitTests, cls).tearDownClass() + def setUp(self): super(TestSessionUnitTests, self).setUp() self.vapi.session_enable_disable(is_enabled=1) |