Klement Sekera | c09b7fd | 2019-06-04 21:14:26 +0200 | [diff] [blame] | 1 | #!/usr/bin/env python |
| 2 | |
| 3 | from framework import VppTestCase |
| 4 | |
| 5 | |
| 6 | class TestBuffers(VppTestCase): |
| 7 | """ Buffer C Unit Tests """ |
| 8 | |
| 9 | @classmethod |
| 10 | def setUpClass(cls): |
| 11 | super(TestBuffers, cls).setUpClass() |
| 12 | |
| 13 | @classmethod |
| 14 | def tearDownClass(cls): |
| 15 | super(TestBuffers, cls).tearDownClass() |
| 16 | |
| 17 | def setUp(self): |
| 18 | super(TestBuffers, self).setUp() |
| 19 | |
| 20 | def tearDown(self): |
| 21 | super(TestBuffers, self).tearDown() |
| 22 | |
| 23 | def test_linearize(self): |
| 24 | """ Chained Buffer Linearization """ |
| 25 | error = self.vapi.cli("test chained-buffer-linearization") |
| 26 | |
| 27 | if error: |
| 28 | self.logger.critical(error) |
| 29 | self.assertNotIn('failed', error) |