X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=test%2Ftest_vapi.py;h=ebd189cd7c890a1d8b3610975e70f71db24ce8a8;hb=defde0f87067eb473660794cbd4a2da69fdd191d;hp=35fb8e795b377d304a19f67970143f4853156c21;hpb=57f170bdf9967e3f8ea6e937a70c7f86187f95a2;p=vpp.git diff --git a/test/test_vapi.py b/test/test_vapi.py index 35fb8e795b3..ebd189cd7c8 100644 --- a/test/test_vapi.py +++ b/test/test_vapi.py @@ -8,7 +8,7 @@ from framework import VppTestCase, running_extended_tests, \ 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 """ @@ -41,7 +41,7 @@ class VAPITestCase(VppTestCase): "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"