From: Brian Russell Date: Wed, 17 Feb 2021 10:02:47 +0000 (+0000) Subject: tests: remove unnecessary setup in policer test X-Git-Tag: v21.10-rc0~504 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=0306fe6681e85f580d80ab968dbed267024fa1fc;p=vpp.git 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 Change-Id: I76bac084c4cb5cb5195e34afe95b38affd585942 --- 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): """