Tests Cleanup: Fix missing calls to setUpClass/tearDownClass.
Continuation/Part 2 of https://gerrit.fd.io/r/#/c/17092/ Change-Id: Id0122d84eaf2c05d29e5be63a594d5e528ee7c9a Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
This commit is contained in:

committed by
Dave Wallace

parent
2e1c8967fa
commit
7f9b7f9f49
@ -24,6 +24,14 @@ arp_opts = {"who-has": 1, "is-at": 2}
|
||||
class ARPTestCase(VppTestCase):
|
||||
""" ARP Test Case """
|
||||
|
||||
@classmethod
|
||||
def setUpClass(cls):
|
||||
super(ARPTestCase, cls).setUpClass()
|
||||
|
||||
@classmethod
|
||||
def tearDownClass(cls):
|
||||
super(ARPTestCase, cls).tearDownClass()
|
||||
|
||||
def setUp(self):
|
||||
super(ARPTestCase, self).setUp()
|
||||
|
||||
@ -1411,6 +1419,14 @@ class ARPTestCase(VppTestCase):
|
||||
class NeighborStatsTestCase(VppTestCase):
|
||||
""" ARP/ND Counters """
|
||||
|
||||
@classmethod
|
||||
def setUpClass(cls):
|
||||
super(NeighborStatsTestCase, cls).setUpClass()
|
||||
|
||||
@classmethod
|
||||
def tearDownClass(cls):
|
||||
super(NeighborStatsTestCase, cls).tearDownClass()
|
||||
|
||||
def setUp(self):
|
||||
super(NeighborStatsTestCase, self).setUp()
|
||||
|
||||
|
Reference in New Issue
Block a user