From 7fa6864522dec3924cd5e8006964d18e934b35bf Mon Sep 17 00:00:00 2001 From: MatthewLi Date: Wed, 1 Jun 2016 06:39:40 -0400 Subject: bugfix for download image function return value JIRA: BOTTLENECK-86 Change-Id: Ia76b833bdec7554468ce081d3d572e87cea2d9f7 Signed-off-by: MatthewLi --- testsuites/rubbos/run_rubbos.py | 2 +- testsuites/vstf/run_vstf.py | 2 +- 2 files changed, 2 insertions(+), 2 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"): diff --git a/testsuites/vstf/run_vstf.py b/testsuites/vstf/run_vstf.py index 4ea56661..15292646 100755 --- a/testsuites/vstf/run_vstf.py +++ b/testsuites/vstf/run_vstf.py @@ -72,7 +72,7 @@ def _download_url(src_url, dest_dir): with open(dest, 'wb') as f: shutil.copyfileobj(response, f) - return file_name + return dest def vstf_stack_satisfy(name="bottlenecks_vstf_stack", status="CREATE_COMPLETE"): heat = _get_heat_client() -- cgit 1.2.3-korg