summaryrefslogtreecommitdiffstats
path: root/test/test_mfib.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_mfib.py')
-rw-r--r--test/test_mfib.py23
1 files changed, 23 insertions, 0 deletions
diff --git a/test/test_mfib.py b/test/test_mfib.py
new file mode 100644
index 00000000000..4d0d2a3f074
--- /dev/null
+++ b/test/test_mfib.py
@@ -0,0 +1,23 @@
+#!/usr/bin/env python
+
+import unittest
+
+from framework import VppTestCase, VppTestRunner
+
+
+class TestMFIB(VppTestCase):
+ """ MFIB Test Case """
+
+ def setUp(self):
+ super(TestMFIB, self).setUp()
+
+ def test_mfib(self):
+ """ MFIB Unit Tests """
+ error = self.vapi.cli("test mfib")
+
+ if error:
+ self.logger.critical(error)
+ self.assertEqual(error.find("Failed"), -1)
+
+if __name__ == '__main__':
+ unittest.main(testRunner=VppTestRunner)