summaryrefslogtreecommitdiffstats
path: root/testcases/functest_utils.py
diff options
context:
space:
mode:
authorboucherv <valentin.boucher@orange.com>2015-12-30 08:08:33 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2015-12-30 08:08:33 +0000
commita90c42e54bbc84dc63db2e58c6366c020fefdad8 (patch)
tree53867e246d8112fe6fb75c4938c330138e6549d0 /testcases/functest_utils.py
parente250cde1fc43246c3464e0efd35fc5fb1fece561 (diff)
parent80aa17c01f6907199e43b3790c206f7e367d7c78 (diff)
Merge "Update orchestrator (cloudify) version from 3.2 to 3.3"
Diffstat (limited to 'testcases/functest_utils.py')
-rw-r--r--testcases/functest_utils.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/testcases/functest_utils.py b/testcases/functest_utils.py
index 00a7b3054..88c00858e 100644
--- a/testcases/functest_utils.py
+++ b/testcases/functest_utils.py
@@ -16,6 +16,7 @@ import subprocess
import sys
import requests
import json
+import shutil
from git import Repo
@@ -526,7 +527,7 @@ def download_url(url, dest_path):
return False
with open(dest, 'wb') as f:
- f.write(response.read())
+ shutil.copyfileobj(response, f)
return True