| from framework import VppTestCase, VppTestRunner, running_extended_tests |
| from framework import running_gcov_tests |
| class TestVppinfra(VppTestCase): |
| """ Vppinfra Unit Test Cases """ |
| worker_config = "workers 1" |
| super(TestVppinfra, cls).setUpClass() |
| super(TestVppinfra, cls).tearDownClass() |
| super(TestVppinfra, self).setUp() |
| super(TestVppinfra, self).tearDown() |
| def test_bitmap_unittest(self): |
| """ Bitmap Code Coverage Test """ |
| r = self.vapi.cli_return_response(cmd) |
| self.logger.info(cmd + " FAIL reply " + r.reply) |
| self.logger.info(cmd + " FAIL retval " + str(r.retval)) |
| if __name__ == '__main__': |
| unittest.main(testRunner=VppTestRunner) |