Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Tests Cleanup: Fix missing calls to setUpClass/tearDownClass.
[vpp.git]
/
test
/
test_mpls.py
diff --git
a/test/test_mpls.py
b/test/test_mpls.py
index
8d5d5ab
..
4a1c663
100644
(file)
--- 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 """
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()
def setUp(self):
super(TestMPLS, self).setUp()
@@
-1383,6
+1391,14
@@
class TestMPLS(VppTestCase):
class TestMPLSDisabled(VppTestCase):
""" MPLS disabled """
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()
def setUp(self):
super(TestMPLSDisabled, self).setUp()
@@
-1462,6
+1478,14
@@
class TestMPLSDisabled(VppTestCase):
class TestMPLSPIC(VppTestCase):
""" MPLS PIC edge convergence """
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()
def setUp(self):
super(TestMPLSPIC, self).setUp()
@@
-1830,6
+1854,14
@@
class TestMPLSPIC(VppTestCase):
class TestMPLSL2(VppTestCase):
""" MPLS-L2 """
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()
def setUp(self):
super(TestMPLSL2, self).setUp()