Age | Commit message (Collapse) | Author | Files | Lines |
|
1.Add pytest file test_execute.py for prepare/execute.py.
2.Change the makedirs mode from 0600 to 0700 for test env.
Change-Id: Ie29e9e4b4210b170f448faf4df907e55bff1435f
Signed-off-by: zhongjun <zhong.jun@zte.com.cn>
|
|
Add more unit test cases by pytest parametrize fixture.
Change-Id: I208bcff9af79b73556638e20df96235c4ac60ee2
Signed-off-by: zhongjun <zhong.jun@zte.com.cn>
|
|
Since the result contains a list, so ignore_order should be True
in the comparison.
Change-Id: Iff4c655312015a55a69b91692ab6f9696715a143
Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
|
|
Because the list/dict parse can not ensure the element sequence in
python, using == method to compare the dict content may cause the
fault. we replace it with DeepDiff function.
Change-Id: I1db52347e24a0b3968bcf645fd47c4fc5b768dc7
Signed-off-by: zhongjun <zhong.jun@zte.com.cn>
|
|
Add the unit test cases by pytest way for get_conf.py,
other python files will be added unit test cases gradually
in the future.
Change-Id: I2495645defcf7ee1b6014b27810ac956eec9f7de
Signed-off-by: zhongjun <zhong.jun@zte.com.cn>
|
|
Change-Id: If783d387c29dad7fa472578ead2bcd5a6d42ee70
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|