From: MatthewLi Date: Wed, 1 Jun 2016 10:39:40 +0000 (-0400) Subject: bugfix for download image function return value X-Git-Tag: colorado.1.0~16 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?p=bottlenecks.git;a=commitdiff_plain;h=7fa6864522dec3924cd5e8006964d18e934b35bf bugfix for download image function return value JIRA: BOTTLENECK-86 Change-Id: Ia76b833bdec7554468ce081d3d572e87cea2d9f7 Signed-off-by: MatthewLi --- 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()