5 from framework import VppTestCase, VppTestRunner, running_extended_tests
6 from framework import running_gcov_tests
9 class TestVppinfra(VppTestCase):
10 """ Vppinfra Unit Test Cases """
15 super(TestVppinfra, cls).setUpClass()
18 def tearDownClass(cls):
19 super(TestVppinfra, cls).tearDownClass()
22 super(TestVppinfra, self).setUp()
25 super(TestVppinfra, self).tearDown()
27 def test_bitmap_unittest(self):
28 """ Bitmap Code Coverage Test """
29 cmds = ["test bitmap"]
32 r = self.vapi.cli_return_response(cmd)
34 if hasattr(r, 'reply'):
35 self.logger.info(cmd + " FAIL reply " + r.reply)
37 self.logger.info(cmd + " FAIL retval " + str(r.retval))
39 if __name__ == '__main__':
40 unittest.main(testRunner=VppTestRunner)