@@ -376,25 +376,27 @@ def test_typecomparestrict(self):
376
376
377
377
def test_recordcompare (self ):
378
378
src = {
379
- 'fields' : [{
380
- 'type' : {'items' : 'string' , 'type' : 'array' },
381
- 'name' : u'file:///home/chapmanb/drive/work/cwl/test_bcbio_cwl/run_info-cwl-workflow/wf-variantcall.cwl#vc_rec/vc_rec/description'
382
- },
383
- {
384
- 'type' : {'items' : 'File' , 'type' : 'array' },
385
- 'name' : u'file:///home/chapmanb/drive/work/cwl/test_bcbio_cwl/run_info-cwl-workflow/wf-variantcall.cwl#vc_rec/vc_rec/vrn_file'
379
+ 'fields' : [
380
+ {'type' : {'items' : 'string' , 'type' : 'array' },
381
+ 'name' : u'file:///home/chapmanb/drive/work/cwl/'
382
+ 'test_bcbio_cwl/run_info-cwl-workflow/wf-variantcall.cwl#vc_rec/vc_rec/description'
383
+ },
384
+ {'type' : {'items' : 'File' , 'type' : 'array' },
385
+ 'name' : u'file:///home/chapmanb/drive/work/cwl/'
386
+ 'test_bcbio_cwl/run_info-cwl-workflow/wf-variantcall.cwl#vc_rec/vc_rec/vrn_file'
386
387
}],
387
388
'type' : 'record' ,
388
389
'name' : u'file:///home/chapmanb/drive/work/cwl/test_bcbio_cwl/run_info-cwl-workflow/wf-variantcall.cwl#vc_rec/vc_rec'
389
390
}
390
391
sink = {
391
- 'fields' : [{
392
- 'type' : {'items' : 'string' , 'type' : 'array' },
393
- 'name' : u'file:///home/chapmanb/drive/work/cwl/test_bcbio_cwl/run_info-cwl-workflow/steps/vc_output_record.cwl#vc_rec/vc_rec/description'
394
- },
395
- {
396
- 'type' : {'items' : 'File' , 'type' : 'array' },
397
- 'name' : u'file:///home/chapmanb/drive/work/cwl/test_bcbio_cwl/run_info-cwl-workflow/steps/vc_output_record.cwl#vc_rec/vc_rec/vrn_file'
392
+ 'fields' : [
393
+ {'type' : {'items' : 'string' , 'type' : 'array' },
394
+ 'name' : u'file:///home/chapmanb/drive/work/cwl/'
395
+ 'test_bcbio_cwl/run_info-cwl-workflow/steps/vc_output_record.cwl#vc_rec/vc_rec/description'
396
+ },
397
+ {'type' : {'items' : 'File' , 'type' : 'array' },
398
+ 'name' : u'file:///home/chapmanb/drive/work/cwl/'
399
+ 'test_bcbio_cwl/run_info-cwl-workflow/steps/vc_output_record.cwl#vc_rec/vc_rec/vrn_file'
398
400
}],
399
401
'type' : 'record' ,
400
402
'name' : u'file:///home/chapmanb/drive/work/cwl/test_bcbio_cwl/run_info-cwl-workflow/steps/vc_output_record.cwl#vc_rec/vc_rec' }
@@ -618,7 +620,7 @@ def get_main_output(self, new_args):
618
620
stdout = subprocess .PIPE , stderr = subprocess .PIPE )
619
621
620
622
stdout , stderr = process .communicate ()
621
- return process .returncode , stdout .decode (), stderr .decode ()
623
+ return process .returncode , stdout .decode ('utf-8' ), stderr .decode ('utf-8' )
622
624
623
625
624
626
class TestJsConsole (TestCmdLine ):
0 commit comments