5 from framework import VppTestCase, VppTestRunner
8 class TestSession(VppTestCase):
9 """ Session Test Case """
13 super(TestSession, cls).setUpClass()
16 super(TestSession, self).setUp()
19 super(TestSession, self).tearDown()
20 self.vapi.session_enable_disable(is_enabled=1)
22 def test_session(self):
23 """ Session Unit Tests """
24 error = self.vapi.cli("test session all")
27 self.logger.critical(error)
28 self.assertEqual(error.find("Failed"), -1)
30 if __name__ == '__main__':
31 unittest.main(testRunner=VppTestRunner)