vpp/test/asf/test_buffers.py

30 lines
691 B
Python
Raw Permalink Normal View History

#!/usr/bin/env python3
2023-08-31 00:47:44 -04:00
from asfframework import VppAsfTestCase
2023-08-31 00:47:44 -04:00
class TestBuffers(VppAsfTestCase):
"""Buffer C Unit Tests"""
@classmethod
def setUpClass(cls):
super(TestBuffers, cls).setUpClass()
@classmethod
def tearDownClass(cls):
super(TestBuffers, cls).tearDownClass()
def setUp(self):
super(TestBuffers, self).setUp()
def tearDown(self):
super(TestBuffers, self).tearDown()
def test_linearize(self):
"""Chained Buffer Linearization"""
error = self.vapi.cli("test chained-buffer-linearization")
if error:
self.logger.critical(error)
self.assertNotIn("failed", error)