tests: remove unnecessary setup in policer test 41/31341/2
authorBrian Russell <brian@graphiant.com>
Wed, 17 Feb 2021 10:02:47 +0000 (10:02 +0000)
committerNeale Ranns <neale@graphiant.com>
Thu, 18 Feb 2021 17:02:38 +0000 (17:02 +0000)
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

src/vnet/policer/test/test_policer.py

index 09b6e52..6b15a02 100644 (file)
@@ -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):
         """