tests: Add platform handling for FreeBSD
[vpp.git] / test / asf / test_api_client.py
1 #!/usr/bin/env python3
2
3 import unittest
4
5 from asfframework import VppAsfTestCase, VppTestRunner
6
7
8 class TestAPIClient(VppAsfTestCase):
9     """API Internal client Test Cases"""
10
11     def test_client_unittest(self):
12         """Internal API client"""
13         error = self.vapi.cli("test api internal")
14         if error:
15             self.logger.critical(error)
16             self.assertNotIn("failed", error)
17
18
19 if __name__ == "__main__":
20     unittest.main(testRunner=VppTestRunner)