3 from framework import VppTestCase
6 class TestCounters(VppTestCase):
7 """ Counters C Unit Tests """
11 super(TestCounters, cls).setUpClass()
14 def tearDownClass(cls):
15 super(TestCounters, cls).tearDownClass()
18 super(TestCounters, self).setUp()
21 super(TestCounters, self).tearDown()
23 def test_counter_simple_expand(self):
24 """ Simple Counter Expand """
25 error = self.vapi.cli("test counter simple expand")
28 self.logger.critical(error)
29 self.assertNotIn('failed', error)
31 def test_counter_combined_expand(self):
32 """ Combined Counter Expand """
33 error = self.vapi.cli("test counter combined expand")
36 self.logger.critical(error)
37 self.assertNotIn('failed', error)