blob: 6b597465796dfd2267d431f32bfbf0972c2d1ad8 [file] [log] [blame]
Neale Ranns0ebe8d72016-12-08 19:48:11 +00001#!/usr/bin/env python
2
3import unittest
4
5from framework import VppTestCase, VppTestRunner
6
Klement Sekera1a419f22016-12-12 02:55:06 +01007
Neale Ranns0ebe8d72016-12-08 19:48:11 +00008class TestFIB(VppTestCase):
9 """ FIB Test Case """
10
Neale Ranns0ebe8d72016-12-08 19:48:11 +000011 def test_fib(self):
12 """ FIB Unit Tests """
13 error = self.vapi.cli("test fib")
14
Klement Sekera1a419f22016-12-12 02:55:06 +010015 if error:
16 self.logger.critical(error)
Neale Ranns0ebe8d72016-12-08 19:48:11 +000017 self.assertEqual(error.find("Failed"), -1)
18
19if __name__ == '__main__':
20 unittest.main(testRunner=VppTestRunner)