summaryrefslogtreecommitdiffstats
path: root/src/vlib/test/test_counters.py
diff options
context:
space:
mode:
authorDave Wallace <dwallacelf@gmail.com>2021-05-12 21:43:59 -0400
committerDamjan Marion <dmarion@me.com>2021-05-13 09:33:06 +0000
commiteddd8e3588561039985b27edf059db6033bfdfab (patch)
tree44896887d6070853ea77a18cae218f5d4ef4d93a /src/vlib/test/test_counters.py
parentfd77f8c00c8e9d528d91a9cefae1878e383582ed (diff)
tests: move test source to vpp/test
- Generate copyright year and version instead of using hard-coded data Type: refactor Signed-off-by: Dave Wallace <dwallacelf@gmail.com> Change-Id: I6058f5025323b3aa483f5df4a2c4371e27b5914e
Diffstat (limited to 'src/vlib/test/test_counters.py')
-rw-r--r--src/vlib/test/test_counters.py39
1 files changed, 0 insertions, 39 deletions
diff --git a/src/vlib/test/test_counters.py b/src/vlib/test/test_counters.py
deleted file mode 100644
index e4cb85621d0..00000000000
--- a/src/vlib/test/test_counters.py
+++ /dev/null
@@ -1,39 +0,0 @@
-#!/usr/bin/env python3
-
-from framework import VppTestCase
-from framework import tag_fixme_vpp_workers
-
-
-@tag_fixme_vpp_workers
-class TestCounters(VppTestCase):
- """ Counters C Unit Tests """
-
- @classmethod
- def setUpClass(cls):
- super(TestCounters, cls).setUpClass()
-
- @classmethod
- def tearDownClass(cls):
- super(TestCounters, cls).tearDownClass()
-
- def setUp(self):
- super(TestCounters, self).setUp()
-
- def tearDown(self):
- super(TestCounters, self).tearDown()
-
- def test_counter_simple_expand(self):
- """ Simple Counter Expand """
- error = self.vapi.cli("test counter simple expand")
-
- if error:
- self.logger.critical(error)
- self.assertNotIn('failed', error)
-
- def test_counter_combined_expand(self):
- """ Combined Counter Expand """
- error = self.vapi.cli("test counter combined expand")
-
- if error:
- self.logger.critical(error)
- self.assertNotIn('failed', error)