Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Stats: Spelling mistake: s/tx-unicast-miss/tx-unicast/
[vpp.git]
/
test
/
test_vapi.py
diff --git
a/test/test_vapi.py
b/test/test_vapi.py
index
35fb8e7
..
7bb815d
100644
(file)
--- a/
test/test_vapi.py
+++ b/
test/test_vapi.py
@@
-8,10
+8,18
@@
from framework import VppTestCase, running_extended_tests, \
running_on_centos, VppTestRunner, Worker
running_on_centos, VppTestRunner, Worker
-@unittest.skipUnless(running_extended_tests
()
, "part of extended tests")
+@unittest.skipUnless(running_extended_tests, "part of extended tests")
class VAPITestCase(VppTestCase):
""" VAPI test """
class VAPITestCase(VppTestCase):
""" VAPI test """
+ @classmethod
+ def setUpClass(cls):
+ super(VAPITestCase, cls).setUpClass()
+
+ @classmethod
+ def tearDownClass(cls):
+ super(VAPITestCase, cls).tearDownClass()
+
def test_vapi_c(self):
""" run C VAPI tests """
var = "TEST_DIR"
def test_vapi_c(self):
""" run C VAPI tests """
var = "TEST_DIR"
@@
-41,7
+49,7
@@
class VAPITestCase(VppTestCase):
"Timeout! Worker did not finish in %ss" % timeout)
self.assert_equal(worker.result, 0, "Binary test return code")
"Timeout! Worker did not finish in %ss" % timeout)
self.assert_equal(worker.result, 0, "Binary test return code")
- @unittest.skipIf(running_on_centos
()
, "Centos's gcc can't compile our C++")
+ @unittest.skipIf(running_on_centos, "Centos's gcc can't compile our C++")
def test_vapi_cpp(self):
""" run C++ VAPI tests """
var = "TEST_DIR"
def test_vapi_cpp(self):
""" run C++ VAPI tests """
var = "TEST_DIR"