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: vpp_interface fix ip6 setter
[vpp.git]
/
test
/
test_fib.py
diff --git
a/test/test_fib.py
b/test/test_fib.py
index
6b59746
..
faafdad
100644
(file)
--- a/
test/test_fib.py
+++ b/
test/test_fib.py
@@
-1,4
+1,4
@@
-#!/usr/bin/env python
+#!/usr/bin/env python
3
import unittest
import unittest
@@
-8,13
+8,21
@@
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()
+
+ @classmethod
+ def tearDownClass(cls):
+ super(TestFIB, cls).tearDownClass()
+
def test_fib(self):
""" FIB Unit Tests """
error = self.vapi.cli("test fib")
if error:
self.logger.critical(error)
def test_fib(self):
""" FIB Unit Tests """
error = self.vapi.cli("test fib")
if error:
self.logger.critical(error)
- self.assert
Equal(error.find("Failed"), -1
)
+ self.assert
NotIn("Failed", error
)
if __name__ == '__main__':
unittest.main(testRunner=VppTestRunner)
if __name__ == '__main__':
unittest.main(testRunner=VppTestRunner)