Skip to content

Commit

Permalink
fix test_build_analysis_files v2
Browse files Browse the repository at this point in the history
  • Loading branch information
antgonza committed Feb 22, 2022
1 parent 2cd8044 commit 15b286c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions qiita_ware/test/test_private_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ def _set_allocation(memory):

# now let's test something that will cause not a number input_size*N
job = self._create_job('build_analysis_files', {
'analysis': 3, 'merge_dup_sample_ids': True})
'analysis': 3, 'merge_dup_sample_ids': True, 'categories': None})
_set_allocation('{input_size}*N')
self.assertEqual(job.get_resource_allocation_info(), 'Not valid')
self.assertEqual(job.status, 'error')
Expand All @@ -416,7 +416,7 @@ def _set_allocation(memory):

# now let's test something that will return a negative number -samples
job = self._create_job('build_analysis_files', {
'analysis': 3, 'merge_dup_sample_ids': True})
'analysis': 3, 'merge_dup_sample_ids': True, 'categories': None})
_set_allocation('-{samples}')
self.assertEqual(job.get_resource_allocation_info(), 'Not valid')
self.assertEqual(job.status, 'error')
Expand All @@ -425,7 +425,7 @@ def _set_allocation(memory):

# now let's test a full build_analysis_files job
job = self._create_job('build_analysis_files', {
'analysis': 3, 'merge_dup_sample_ids': True})
'analysis': 3, 'merge_dup_sample_ids': True, 'categories': None})
job._set_status('in_construction')
job.submit()

Expand Down

0 comments on commit 15b286c

Please sign in to comment.