2.24. 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
-