blob: 716ba287e1e0b1b8e61d697b2605de64ecbf22f1 [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
7class TestFIB(VppTestCase):
8 """ FIB Test Case """
9
10 @classmethod
11 def setUpClass(cls):
12 super(TestFIB, cls).setUpClass()
13
14 def setUp(self):
15 super(TestFIB, self).setUp()
16
17 def tearDown(self):
18 super(TestFIB, self).tearDown()
19
20 def test_fib(self):
21 """ FIB Unit Tests """
22 error = self.vapi.cli("test fib")
23
24 self.logger.critical(error)
25 self.assertEqual(error.find("Failed"), -1)
26
27if __name__ == '__main__':
28 unittest.main(testRunner=VppTestRunner)