bugfix for download image function return value
[bottlenecks.git] / testsuites / vstf / run_vstf.py
index 4ea5666..1529264 100755 (executable)
@@ -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()