Skip to content

Commit

Permalink
Fix blast status test
Browse files Browse the repository at this point in the history
  • Loading branch information
susannasiebert committed Apr 17, 2023
1 parent 99245be commit f3df76d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api_status_tests/test_blast.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ def test_blast_api_runs_and_returns_expected_value(self):
with open(expected_file_name, 'r') as expected_fh:
actual_content = result_handle.read()
expected_content = expected_fh.read()
actual_content_without_query_id = '\n'.join(line for line in actual_content.split('\n') if 'BlastOutput_query-ID' not in line and 'Iteration_query-ID' not in line)
expected_content_without_query_id = '\n'.join(line for line in expected_content.split('\n') if 'BlastOutput_query-ID' not in line and 'Iteration_query-ID' not in line)
actual_content_without_query_id = '\n'.join(line for line in actual_content.split('\n') if '_query-ID' not in line and 'Hsp_evalue' not in line)
expected_content_without_query_id = '\n'.join(line for line in expected_content.split('\n') if '_query-ID' not in line and 'Hsp_evalue' not in line)
self.assertEqual(expected_content_without_query_id, actual_content_without_query_id)

0 comments on commit f3df76d

Please sign in to comment.