summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Russell <brian@graphiant.com>2021-02-17 10:02:47 +0000
committerNeale Ranns <neale@graphiant.com>2021-02-18 17:02:38 +0000
commit0306fe6681e85f580d80ab968dbed267024fa1fc (patch)
treee0bd65c0186978c527c9881172f205f710a58e6d
parent3d0e0d155de32eb215a7ca675dfca5a28f8837cc (diff)
tests: remove unnecessary setup in policer test
The policer test class overrides setup and teardown methods from VppTestCase but doesn't do anything other than call the parent's method. Type: test Signed-off-by: Brian Russell <brian@graphiant.com> Change-Id: I76bac084c4cb5cb5195e34afe95b38affd585942
-rw-r--r--src/vnet/policer/test/test_policer.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/vnet/policer/test/test_policer.py b/src/vnet/policer/test/test_policer.py
index 09b6e52da01..6b15a0234a3 100644
--- a/src/vnet/policer/test/test_policer.py
+++ b/src/vnet/policer/test/test_policer.py
@@ -26,12 +26,6 @@ EBURST = 200000 # Excess burst in bytes
class TestPolicer(VppTestCase):
""" Policer Test Case """
- def setUp(self):
- super(TestPolicer, self).setUp()
-
- def tearDown(self):
- super(TestPolicer, self).tearDown()
-
def run_policer_test(self, type, cir, cb, eir, eb, rate=8000, burst=10000,
colour=0):
"""