Neale Ranns | 0ebe8d7 | 2016-12-08 19:48:11 +0000 | [diff] [blame] | 1 | #!/usr/bin/env python |
| 2 | |
| 3 | import unittest |
| 4 | |
| 5 | from framework import VppTestCase, VppTestRunner |
| 6 | |
Klement Sekera | 1a419f2 | 2016-12-12 02:55:06 +0100 | [diff] [blame] | 7 | |
Neale Ranns | 0ebe8d7 | 2016-12-08 19:48:11 +0000 | [diff] [blame] | 8 | class TestFIB(VppTestCase): |
| 9 | """ FIB Test Case """ |
| 10 | |
Neale Ranns | 0ebe8d7 | 2016-12-08 19:48:11 +0000 | [diff] [blame] | 11 | def test_fib(self): |
| 12 | """ FIB Unit Tests """ |
| 13 | error = self.vapi.cli("test fib") |
| 14 | |
Klement Sekera | 1a419f2 | 2016-12-12 02:55:06 +0100 | [diff] [blame] | 15 | if error: |
| 16 | self.logger.critical(error) |
Paul Vinciguerra | 9a6dafd | 2019-03-06 15:11:28 -0800 | [diff] [blame] | 17 | self.assertNotIn("Failed", error) |
Neale Ranns | 0ebe8d7 | 2016-12-08 19:48:11 +0000 | [diff] [blame] | 18 | |
| 19 | if __name__ == '__main__': |
| 20 | unittest.main(testRunner=VppTestRunner) |