5 from framework import VppTestCase, VppTestRunner
8 class TestVppinfra(VppTestCase):
9 """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))
40 if __name__ == "__main__":
41 unittest.main(testRunner=VppTestRunner)