diff options
author | boucherv <valentin.boucher@orange.com> | 2015-12-30 08:08:33 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@172.30.200.206> | 2015-12-30 08:08:33 +0000 |
commit | a90c42e54bbc84dc63db2e58c6366c020fefdad8 (patch) | |
tree | 53867e246d8112fe6fb75c4938c330138e6549d0 /testcases/functest_utils.py | |
parent | e250cde1fc43246c3464e0efd35fc5fb1fece561 (diff) | |
parent | 80aa17c01f6907199e43b3790c206f7e367d7c78 (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.py | 3 |
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 |