summaryrefslogtreecommitdiffstats
path: root/test/test_mpls.py
diff options
context:
space:
mode:
authorPaul Vinciguerra <pvinci@vinciconsulting.com>2019-03-12 19:23:27 -0700
committerDave Wallace <dwallacelf@gmail.com>2019-04-10 14:37:40 +0000
commit7f9b7f9f492d1748d8ba025b3a713058fdb1943d (patch)
tree8f12656075439b4434d666be85ae34112cc37371 /test/test_mpls.py
parent2e1c8967faf4e9f7b45471df02e4e5b07fbb520a (diff)
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>
Diffstat (limited to 'test/test_mpls.py')
-rw-r--r--test/test_mpls.py32
1 files changed, 32 insertions, 0 deletions
diff --git a/test/test_mpls.py b/test/test_mpls.py
index 8d5d5abb48d..4a1c663c444 100644
--- a/test/test_mpls.py
+++ b/test/test_mpls.py
@@ -52,6 +52,14 @@ def verify_mpls_stack(tst, rx, mpls_labels):
class TestMPLS(VppTestCase):
""" MPLS Test Case """
+ @classmethod
+ def setUpClass(cls):
+ super(TestMPLS, cls).setUpClass()
+
+ @classmethod
+ def tearDownClass(cls):
+ super(TestMPLS, cls).tearDownClass()
+
def setUp(self):
super(TestMPLS, self).setUp()
@@ -1383,6 +1391,14 @@ class TestMPLS(VppTestCase):
class TestMPLSDisabled(VppTestCase):
""" MPLS disabled """
+ @classmethod
+ def setUpClass(cls):
+ super(TestMPLSDisabled, cls).setUpClass()
+
+ @classmethod
+ def tearDownClass(cls):
+ super(TestMPLSDisabled, cls).tearDownClass()
+
def setUp(self):
super(TestMPLSDisabled, self).setUp()
@@ -1462,6 +1478,14 @@ class TestMPLSDisabled(VppTestCase):
class TestMPLSPIC(VppTestCase):
""" MPLS PIC edge convergence """
+ @classmethod
+ def setUpClass(cls):
+ super(TestMPLSPIC, cls).setUpClass()
+
+ @classmethod
+ def tearDownClass(cls):
+ super(TestMPLSPIC, cls).tearDownClass()
+
def setUp(self):
super(TestMPLSPIC, self).setUp()
@@ -1830,6 +1854,14 @@ class TestMPLSPIC(VppTestCase):
class TestMPLSL2(VppTestCase):
""" MPLS-L2 """
+ @classmethod
+ def setUpClass(cls):
+ super(TestMPLSL2, cls).setUpClass()
+
+ @classmethod
+ def tearDownClass(cls):
+ super(TestMPLSL2, cls).tearDownClass()
+
def setUp(self):
super(TestMPLSL2, self).setUp()