@@ -407,7 +407,7 @@ def _set_allocation(memory):
407
407
408
408
# now let's test something that will cause not a number input_size*N
409
409
job = self ._create_job ('build_analysis_files' , {
410
- 'analysis' : 3 , 'merge_dup_sample_ids' : True })
410
+ 'analysis' : 3 , 'merge_dup_sample_ids' : True , 'categories' : None })
411
411
_set_allocation ('{input_size}*N' )
412
412
self .assertEqual (job .get_resource_allocation_info (), 'Not valid' )
413
413
self .assertEqual (job .status , 'error' )
@@ -416,7 +416,7 @@ def _set_allocation(memory):
416
416
417
417
# now let's test something that will return a negative number -samples
418
418
job = self ._create_job ('build_analysis_files' , {
419
- 'analysis' : 3 , 'merge_dup_sample_ids' : True })
419
+ 'analysis' : 3 , 'merge_dup_sample_ids' : True , 'categories' : None })
420
420
_set_allocation ('-{samples}' )
421
421
self .assertEqual (job .get_resource_allocation_info (), 'Not valid' )
422
422
self .assertEqual (job .status , 'error' )
@@ -425,7 +425,7 @@ def _set_allocation(memory):
425
425
426
426
# now let's test a full build_analysis_files job
427
427
job = self ._create_job ('build_analysis_files' , {
428
- 'analysis' : 3 , 'merge_dup_sample_ids' : True })
428
+ 'analysis' : 3 , 'merge_dup_sample_ids' : True , 'categories' : None })
429
429
job ._set_status ('in_construction' )
430
430
job .submit ()
431
431
0 commit comments