5 from framework import VppTestCase, VppTestRunner
8 class TestTCP(VppTestCase):
13 super(TestTCP, cls).setUpClass()
16 super(TestTCP, self).setUp()
17 self.vapi.session_enable_disable(is_enabled=1)
20 super(TestTCP, self).tearDown()
23 """ TCP Unit Tests """
24 error = self.vapi.cli("test tcp all")
27 self.logger.critical(error)
28 self.assertEqual(error.find("Failed"), -1)
30 if __name__ == '__main__':
31 unittest.main(testRunner=VppTestRunner)