summaryrefslogtreecommitdiffstats
path: root/tests/cli_test.py
AgeCommit message (Collapse)AuthorFilesLines
2016-10-14Unit test bugfix: Remove the zte-pod1 in unit test.zhifeng.jiang1-4/+4
Change-Id: I5e8be7d22800f67e475660fa1a557af62e8c9b1f Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2016-10-07Rename class cli to CliYujun Zhang1-3/+3
class name should be CamelCase Change-Id: I3b68b14483a475499baf832eb1af93ecca171b14 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2016-09-08Remove os environment in driver.py so that it can be called by restful serverzhifeng.jiang1-3/+10
modification: Change os environments to parameters in driver.py Pass the parameters in cli.py and arg_handler.py JIRA:QTIP-97 Change-Id: Id67acb7e0ac46fa9e0e32481e947055b6d37dd95 Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2016-08-21Code refactoring cli.py so that it can be reused by restful server.zhifeng.jiang1-0/+14
modification: Move function in cli.py to args_handler.py Add unit test for args_handler.py Add unit test for cli.py Delete print in driver.py to pass unit test JIRA:QTIP-99 Change-Id: Ib670d7dff494f3e04cdbe1de5c247d382b1052c1 Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2016-08-18Fix unit test 'test_cli_error' always 'pass' problem.zhifeng.jiang1-2/+2
Change-Id: Iabb4ca83f4f4167471b57411f78520d284a38b3c Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2016-07-05Add some UT test cases and fix pep8 errors for cli and env_setup.zhifeng.jiang1-0/+20
JIRA:QTIP-89 Change-Id: I4a46898071001f679f1a032a560d605dffc8eb9f Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>