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 8
8
import signal
9
9
import requests
10
10
import shutil
11
+ import logging
12
+
13
+ logging .basicConfig (level = logging .INFO )
11
14
12
15
13
16
class IntegrationTest (unittest .TestCase ):
@@ -84,10 +87,10 @@ def run_wdl_md5sum(wdl_input):
84
87
output_dir = os .path .abspath (os .path .join ('workflows' , response ['workflow_id' ], 'outdir' ))
85
88
check_travis_log = os .path .join (output_dir , 'stderr' )
86
89
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 ]))
91
94
return os .path .join (output_dir , 'md5sum.txt' ), response ['workflow_id' ]
92
95
93
96
You can’t perform that action at this time.
0 commit comments