Skip to content

Commit 9b90803

Browse files
committed
More debugging on travis.
1 parent adc3186 commit 9b90803

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

test/test_integration.py

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
import signal
99
import requests
1010
import shutil
11+
import logging
12+
13+
logging.basicConfig(level=logging.INFO)
1114

1215

1316
class IntegrationTest(unittest.TestCase):
@@ -84,10 +87,10 @@ def run_wdl_md5sum(wdl_input):
8487
output_dir = os.path.abspath(os.path.join('workflows', response['workflow_id'], 'outdir'))
8588
check_travis_log = os.path.join(output_dir, 'stderr')
8689
with open(check_travis_log, 'r') as f:
87-
print(f.read())
88-
print(subprocess.check_output(['ls', os.path.join('workflows', response['workflow_id'])]))
89-
print('\n')
90-
print(subprocess.check_output(['ls', output_dir]))
90+
logging.info(f.read())
91+
logging.info(subprocess.check_output(['ls', os.path.join('workflows', response['workflow_id'])]))
92+
logging.info('\n')
93+
logging.info(subprocess.check_output(['ls', output_dir]))
9194
return os.path.join(output_dir, 'md5sum.txt'), response['workflow_id']
9295

9396

0 commit comments

Comments
 (0)