summaryrefslogtreecommitdiffstats
path: root/tests/unit/test_daisy_server.py
AgeCommit message (Collapse)AuthorFilesLines
2018-03-19Fix Licence header missing issuesZhijiang Hu1-0/+9
Change-Id: I186f94b6e7580974a32a3c3c48fdc891b8445937 Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
2017-10-18Skip recreate Daisy server VM if it exists in pythonAlex Yang1-14/+10
Do not recreate daisy server if it exists. Reference to the bash code in patch [1]. [1] https://gerrit.opnfv.org/gerrit/#/c/40337/ Change-Id: If472c59ea180e550f358af4a3a9c7b42e575eddc Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2017-10-12Mock sleep() to accelerate the unit testAlex Yang1-0/+2
Change-Id: I664ba714ab4094754fa3d71587da8536555a02ce Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2017-09-29Add more test function and case in test_utils.pyzhongjun1-7/+317
Add more test functions and test case in test_utils.py, test_daisy_server.py and test_environment.py. Change-Id: I7e4ea6993205e1d2f7cc8202820a3ada99613910 Signed-off-by: zhongjun <zhong.jun@zte.com.cn>
2017-09-18Add the pytest file test_environment.pyzhongjun1-0/+346
1.Add the pytest file test_enviroment.py 2.Add the pytest file test_daisy_server.py Change-Id: If679c3a7279a915d078dd3008bcfc56be6dccc3e Signed-off-by: zhongjun <zhong.jun@zte.com.cn>