Skip to content

Commit

Permalink
Fixing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
josenavas committed Sep 28, 2016
1 parent 623dd87 commit 6920adb
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion qiita_db/handlers/tests/test_processing_job.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def test_get(self):
"rev_comp_mapping_barcodes": False, "rev_comp": False,
"phred_quality_threshold": 3, "barcode_type": "golay_12",
"max_barcode_errors": 1.5, "input_data": 1,
'phred_offset': ''}
'phred_offset': 'auto'}
exp = {'command': cmd, 'parameters': params, 'status': 'success'}
self.assertEqual(loads(obs.body), exp)

Expand Down
4 changes: 2 additions & 2 deletions qiita_db/test/test_artifact.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def test_processing_parameters(self):
'rev_comp_mapping_barcodes': False,
'min_per_read_length_fraction': 0.75,
'barcode_type': 'golay_12',
'phred_offset': ''})
'phred_offset': 'auto'})
self.assertEqual(obs, exp)
obs = qdb.artifact.Artifact(3).processing_parameters
exp = qdb.software.Parameters.load(
Expand All @@ -107,7 +107,7 @@ def test_processing_parameters(self):
'rev_comp_mapping_barcodes': True,
'min_per_read_length_fraction': 0.75,
'barcode_type': 'golay_12',
'phred_offset': ''})
'phred_offset': 'auto'})
self.assertEqual(obs, exp)

def test_visibility(self):
Expand Down
2 changes: 1 addition & 1 deletion qiita_db/test/test_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ def test_load_parameters_from_cmd(self):
"test", self.fp, 1)
obs = new.values
exp = {"barcode_type": "hamming_8", "max_bad_run_length": "3",
"phred_offset": "", "max_barcode_errors": "1.5",
"phred_offset": "auto", "max_barcode_errors": "1.5",
"min_per_read_length_fraction": "0.75",
"phred_quality_threshold": "3", "sequence_max_n": "0",
"rev_comp": "False", "rev_comp_barcode": "False",
Expand Down
2 changes: 1 addition & 1 deletion qiita_pet/handlers/api_proxy/tests/test_processing.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def test_job_ajax_get_req(self):
'rev_comp_barcode': False,
'rev_comp_mapping_barcodes': False,
'sequence_max_n': 0,
'phred_offset': ''}}
'phred_offset': 'auto'}}
self.assertEqual(obs, exp)


Expand Down

0 comments on commit 6920adb

Please sign in to comment.