2.35. test_cli module¶
CLI functional tests
- class test_cli.TestCLI(methodName='runTest')¶
Bases:
framework.VppTestCaseCLI Test Case
- maxDiff = None¶
- setUp()¶
Clear trace before running each test
- classmethod setUpClass()¶
Perform class setup before running the testcase Remove shared memory files, start vpp and connect the vpp-api
- tearDown()¶
Show various debug prints after each test
- classmethod tearDownClass()¶
Perform final cleanup after running all tests in this test-case
- test_cli_retval()¶
CLI inband retval
- test_long_cli_delay()¶
Test that VppApiClient raises VppIOError if timeout.
- test_long_cli_delay_override()¶
Test per-command _timeout option.
- class test_cli.TestCLIExtendedVapiTimeout(methodName='runTest')¶
Bases:
framework.VppTestCase- maxDiff = None¶
- setUp()¶
Clear trace before running each test
- classmethod setUpClass()¶
Perform class setup before running the testcase Remove shared memory files, start vpp and connect the vpp-api
- tearDown()¶
Show various debug prints after each test
- classmethod tearDownClass()¶
Perform final cleanup after running all tests in this test-case
- test_long_cli_delay()¶
Test that delayed result returns with extended timeout.