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_gbp.py
diff --git
a/test/test_gbp.py
b/test/test_gbp.py
index
df529c6
..
73acfdf
100644
(file)
--- a/
test/test_gbp.py
+++ b/
test/test_gbp.py
@@
-575,6
+575,14
@@
class VppGbpAcl(VppObject):
class TestGBP(VppTestCase):
""" GBP Test Case """
class TestGBP(VppTestCase):
""" GBP Test Case """
+ @classmethod
+ def setUpClass(cls):
+ super(TestGBP, cls).setUpClass()
+
+ @classmethod
+ def tearDownClass(cls):
+ super(TestGBP, cls).tearDownClass()
+
def setUp(self):
super(TestGBP, self).setUp()
def setUp(self):
super(TestGBP, self).setUp()
@@
-1563,7
+1571,7
@@
class TestGBP(VppTestCase):
self.pg2.remote_hosts[0].ip4,
99))
self.pg2.remote_hosts[0].ip4,
99))
- # epg is not learnt, because the EPG is unkn
wo
n
+ # epg is not learnt, because the EPG is unkn
ow
n
self.assertEqual(len(self.vapi.gbp_endpoint_dump()), 1)
#
self.assertEqual(len(self.vapi.gbp_endpoint_dump()), 1)
#