6acde0a636365bf2f0049a44fe4cf2c3aa0bfa11
[vpp.git] / test / test_fib.py
1 #!/usr/bin/env python
2
3 import unittest
4
5 from framework import VppTestCase, VppTestRunner
6
7
8 class TestFIB(VppTestCase):
9     """ FIB Test Case """
10
11     @classmethod
12     def setUpClass(cls):
13         super(TestFIB, cls).setUpClass()
14
15     @classmethod
16     def tearDownClass(cls):
17         super(TestFIB, cls).tearDownClass()
18
19     def test_fib(self):
20         """ FIB Unit Tests """
21         error = self.vapi.cli("test fib")
22
23         if error:
24             self.logger.critical(error)
25         self.assertNotIn("Failed", error)
26
27 if __name__ == '__main__':
28     unittest.main(testRunner=VppTestRunner)