Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
move [m]fib and BIER tests to unittest plugin
[vpp.git]
/
test
/
test_fib.py
diff --git
a/test/test_fib.py
b/test/test_fib.py
index
716ba28
..
6b59746
100644
(file)
--- a/
test/test_fib.py
+++ b/
test/test_fib.py
@@
-4,24
+4,16
@@
import unittest
from framework import VppTestCase, VppTestRunner
from framework import VppTestCase, VppTestRunner
+
class TestFIB(VppTestCase):
""" FIB Test Case """
class TestFIB(VppTestCase):
""" FIB Test Case """
- @classmethod
- def setUpClass(cls):
- super(TestFIB, cls).setUpClass()
-
- def setUp(self):
- super(TestFIB, self).setUp()
-
- def tearDown(self):
- super(TestFIB, self).tearDown()
-
def test_fib(self):
""" FIB Unit Tests """
error = self.vapi.cli("test fib")
def test_fib(self):
""" FIB Unit Tests """
error = self.vapi.cli("test fib")
- self.logger.critical(error)
+ if error:
+ self.logger.critical(error)
self.assertEqual(error.find("Failed"), -1)
if __name__ == '__main__':
self.assertEqual(error.find("Failed"), -1)
if __name__ == '__main__':