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_udp.py
diff --git
a/test/test_udp.py
b/test/test_udp.py
index
3010a1d
..
d69052b
100644
(file)
--- a/
test/test_udp.py
+++ b/
test/test_udp.py
@@
-14,6
+14,14
@@
from scapy.contrib.mpls import MPLS
class TestUdpEncap(VppTestCase):
""" UDP Encap Test Case """
class TestUdpEncap(VppTestCase):
""" UDP Encap Test Case """
+ @classmethod
+ def setUpClass(cls):
+ super(TestUdpEncap, cls).setUpClass()
+
+ @classmethod
+ def tearDownClass(cls):
+ super(TestUdpEncap, cls).tearDownClass()
+
def setUp(self):
super(TestUdpEncap, self).setUp()
def setUp(self):
super(TestUdpEncap, self).setUp()
@@
-240,6
+248,10
@@
class TestUDP(VppTestCase):
def setUpClass(cls):
super(TestUDP, cls).setUpClass()
def setUpClass(cls):
super(TestUDP, cls).setUpClass()
+ @classmethod
+ def tearDownClass(cls):
+ super(TestUDP, cls).tearDownClass()
+
def setUp(self):
super(TestUDP, self).setUp()
self.vapi.session_enable_disable(is_enabled=1)
def setUp(self):
super(TestUDP, self).setUp()
self.vapi.session_enable_disable(is_enabled=1)