Skip to content

Commit 53d26f6

Browse files
authored
Tests: wrapper: set default key.
1 parent afc0011 commit 53d26f6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/scripts/appveyor/fixup_wrapper.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
wrapper = json.load(wrapper_file)
1414

1515
for i, item in enumerate(wrapper['captures']):
16+
wrapper['captures'][i].setdefault('stdout', '')
17+
wrapper['captures'][i].setdefault('stderr', '')
1618
if not wrapper['captures'][i]['stdout']:
1719
wrapper['captures'][i]['stdout'] = wrapper['captures'][0]['stdout']
1820
if not wrapper['captures'][i]['stderr']:

0 commit comments

Comments
 (0)