blob: 4d0d2a3f0747eb2a59665322fb59dc5b058d1c2b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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)
|