summaryrefslogtreecommitdiffstats
path: root/tests/spawn_vm_test.py
AgeCommit message (Collapse)AuthorFilesLines
2016-11-16Bugfix: Correct the path in unit test.zhifeng.jiang1-5/+5
Change-Id: I2e019230bc50222222c5df4c0d18640616fff074 Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2016-11-09Merge func to utilswu.zhihui1-5/+5
Local test is ok. JIRA: QTIP-131 Change-Id: I7009337903c7ded90dda47a05d6c1c95aa96815d Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2016-10-28Code refactor: spawn_vm.pywu.zhihui1-7/+4
1. update SampleHeat.yaml 2. No need to fetch private key file my_key.pem. 3. remove keypair value from spawn_vm_test.py 4. cleanup redundant code. Change-Id: Id7ccdbae5b88c86ebff7518710b6c91ab4281c53 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2016-10-09code refactor: create_zones.pywu.zhihui1-1/+1
1. simply the process of creating aggregates in create_zones.py. 2. before creating aggregates, it will clean all aggregates firstly. TODO: It should clean up the created aggregates. It needs a big structure modification in args_handler.py. Let's do it step by step. Change-Id: I31e09e917ba83d4676f7f95d9f5186bce8d2a449 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2016-10-07Fix unit test problem:'spawn_vm.py does not have attribute FetchImg'zhifeng.jiang1-2/+1
Change-Id: I8035abfeb52515f106de4188621c207acfe54a65 Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2016-09-27code refactor: run_qtip.shwu.zhihui1-12/+1
1. Add prepare_qtip_image.sh to prepare qtip image before qtip test. 2. Add cleanup_qtip_image.sh to clean up qtip image after finishing qtip test. Both of them are invoked in run_qtip.sh Change-Id: Iba892a2e02e31820ed0525f80a4e2885899557e0 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2016-07-12Add some UT test cases and fix pep8 errors for spawn_vmzhifeng.jiang1-0/+71
JIRA:QTIP-89 Change-Id: I2555a0a7a8ffaf6d19cfad88770cd8e378d154b2 Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>