blob: 6acde0a636365bf2f0049a44fe4cf2c3aa0bfa11 [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
Paul Vinciguerra7f9b7f92019-03-12 19:23:27 -070011 @classmethod
12 def setUpClass(cls):
13 super(TestFIB, cls).setUpClass()
14
15 @classmethod
16 def tearDownClass(cls):
17 super(TestFIB, cls).tearDownClass()
18
Neale Ranns0ebe8d72016-12-08 19:48:11 +000019 def test_fib(self):
20 """ FIB Unit Tests """
21 error = self.vapi.cli("test fib")
22
Klement Sekera1a419f22016-12-12 02:55:06 +010023 if error:
24 self.logger.critical(error)
Paul Vinciguerra9a6dafd2019-03-06 15:11:28 -080025 self.assertNotIn("Failed", error)
Neale Ranns0ebe8d72016-12-08 19:48:11 +000026
27if __name__ == '__main__':
28 unittest.main(testRunner=VppTestRunner)