Code refactoring cli.py so that it can be reused by restful server. 05/19105/2
authorzhifeng.jiang <jiang.zhifeng@zte.com.cn>
Sat, 20 Aug 2016 08:29:26 +0000 (16:29 +0800)
committerzhifeng.jiang <jiang.zhifeng@zte.com.cn>
Sun, 21 Aug 2016 06:23:13 +0000 (14:23 +0800)
commit9b23320f77639f07d2156a4add18fb2f99771520
tree3593b673535bd109fc7031eeb7f00848c5c8b0fb
parente0482d626cedfb1f30712e82df288454af65c76c
Code refactoring cli.py so that it can be reused by restful server.

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>
func/args_handler.py [new file with mode: 0644]
func/cli.py
func/driver.py
tests/args_handler_test.py [new file with mode: 0644]
tests/cli_test.py