diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/test_api_client.py | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/test/test_api_client.py b/test/test_api_client.py new file mode 100644 index 00000000000..ec44be7e370 --- /dev/null +++ b/test/test_api_client.py @@ -0,0 +1,20 @@ +#!/usr/bin/env python3 + +import unittest + +from framework import VppTestCase, VppTestRunner +from vpp_ip_route import VppIpTable, VppIpRoute, VppRoutePath + + +class TestAPIClient(VppTestCase): + """ API Internal client Test Cases """ + + def test_client_unittest(self): + """ Internal API client """ + error = self.vapi.cli("test api internal") + if error: + self.logger.critical(error) + self.assertNotIn('failed', error) + +if __name__ == '__main__': + unittest.main(testRunner=VppTestRunner) |