Code Review
/
functest-xtesting.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
616541e
)
Compress Campaign data (zip)
34/69434/1
author
Cédric Ollivier
<cedric.ollivier@orange.com>
Sun, 22 Dec 2019 20:09:53 +0000
(21:09 +0100)
committer
Cédric Ollivier
<cedric.ollivier@orange.com>
Sun, 22 Dec 2019 20:27:03 +0000
(21:27 +0100)
Change-Id: I7b46a88a181293297cc764026f2804d36a59955a
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit
f187187c3afa730e94ffcdffd84e54494def306a
)
xtesting/core/campaign.py
patch
|
blob
|
history
diff --git
a/xtesting/core/campaign.py
b/xtesting/core/campaign.py
index
edf109b
..
0ffafc6
100644
(file)
--- a/
xtesting/core/campaign.py
+++ b/
xtesting/core/campaign.py
@@
-162,7
+162,8
@@
class Campaign(object):
build_tag = env.get('BUILD_TAG')
assert Campaign.dump_db() == Campaign.EX_OK
assert Campaign.dump_artifacts() == Campaign.EX_OK
- with zipfile.ZipFile('{}.zip'.format(build_tag), 'w') as zfile:
+ with zipfile.ZipFile('{}.zip'.format(build_tag),
+ 'w', zipfile.ZIP_DEFLATED) as zfile:
zfile.write("{}.json".format(build_tag))
for root, _, files in os.walk(build_tag):
for filename in files: