File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 88import signal
99import requests
1010import shutil
11+ import logging
12+
13+ logging .basicConfig (level = logging .INFO )
1114
1215
1316class 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
You can’t perform that action at this time.
0 commit comments