diff options
author | SerenaFeng <feng.xiaowei@zte.com.cn> | 2016-08-23 13:44:36 +0800 |
---|---|---|
committer | SerenaFeng <feng.xiaowei@zte.com.cn> | 2016-08-26 09:21:06 +0800 |
commit | 5f5af6b1d8d0af19db143e67f04f67a643af863c (patch) | |
tree | a533329bde635c1fe42f125c587fdc6b1cebed49 /utils/__init__.py | |
parent | 3c9c072e82feca7c374aa83fe7cb4466c71823ce (diff) |
refactor create or get image process to eliminate reduplicate
Some places when create image is referred, they check if image exist,
if exist use it directly, else create a new one.
Abstract a method to integrate the process
JIRA: FUNCTEST-432
Change-Id: I83d1112aa5cb0d3cdfab92fd49cd5f2c1cceff82
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Diffstat (limited to 'utils/__init__.py')
0 files changed, 0 insertions, 0 deletions