tests: replace pycodestyle with black
[vpp.git] / test / test_api_client.py
1 #!/usr/bin/env python3
2
3 import unittest
4
5 from framework import VppTestCase, VppTestRunner
6 from vpp_ip_route import VppIpTable, VppIpRoute, VppRoutePath
7
8
9 class TestAPIClient(VppTestCase):
10     """API Internal client Test Cases"""
11
12     def test_client_unittest(self):
13         """Internal API client"""
14         error = self.vapi.cli("test api internal")
15         if error:
16             self.logger.critical(error)
17             self.assertNotIn("failed", error)
18
19
20 if __name__ == "__main__":
21     unittest.main(testRunner=VppTestRunner)