summaryrefslogtreecommitdiffstats
path: root/testsuites/rubbos/run_rubbos.py
diff options
context:
space:
mode:
authorMatthewLi <matthew.lijun@huawei.com>2016-06-01 06:39:40 -0400
committerMatthewLi <matthew.lijun@huawei.com>2016-06-01 06:39:40 -0400
commit7fa6864522dec3924cd5e8006964d18e934b35bf (patch)
treedc3c00083b32e590bd302f9f7b55ac2cf8cd81da /testsuites/rubbos/run_rubbos.py
parentf670ac5d8572ed93811ad01a9d27142cba77de5d (diff)
bugfix for download image function return value
JIRA: BOTTLENECK-86 Change-Id: Ia76b833bdec7554468ce081d3d572e87cea2d9f7 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
Diffstat (limited to 'testsuites/rubbos/run_rubbos.py')
-rwxr-xr-xtestsuites/rubbos/run_rubbos.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuites/rubbos/run_rubbos.py b/testsuites/rubbos/run_rubbos.py
index 18aeab6f..afe653fe 100755
--- a/testsuites/rubbos/run_rubbos.py
+++ b/testsuites/rubbos/run_rubbos.py
@@ -73,7 +73,7 @@ def _download_url(src_url, dest_dir):
with open(dest, 'wb') as f:
shutil.copyfileobj(response, f)
- return file_name
+ return dest
def rubbos_stack_satisfy(name="bottlenecks_rubbos_stack", status="CREATE_COMPLETE"):