aboutsummaryrefslogtreecommitdiffstats
path: root/testcases/functest_utils.py
diff options
context:
space:
mode:
authorboucherv <valentin.boucher@orange.com>2015-12-24 14:57:50 +0100
committerboucherv <valentin.boucher@orange.com>2015-12-27 17:37:05 +0100
commit80aa17c01f6907199e43b3790c206f7e367d7c78 (patch)
treeaa681d76f5da89f667d96fa8d9d0011e8c2a02b2 /testcases/functest_utils.py
parent4a2e0aeb8d7b8260d3a8dabed3da9516db7ed527 (diff)
Update orchestrator (cloudify) version from 3.2 to 3.3
FUNCTEST-121 Change-Id: I05de60dae213e2f2b3ba272917dc70ca03e5fe90 Signed-off-by: boucherv <valentin.boucher@orange.com>
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 87506083..32760869 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
@@ -513,7 +514,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