Skip to content

Commit

Permalink
Check that parsed results are as expected
Browse files Browse the repository at this point in the history
  • Loading branch information
Ulthran committed Sep 26, 2024
1 parent e2b4d8a commit 057290c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/unit/test_parse.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,11 @@ def test_parse_results(self):
f.seek(0)
content = list(parse_results((l for l in f.readlines())))

self.assertEqual(content[0]["query_id"], "Seq1")
self.assertEqual(content[2]["species"], "NA")
self.assertEqual(content[2]["region_mismatches"], None)
self.assertEqual(content[2]["probability_incompatible"], None)


if __name__ == "__main__":
unittest.main()

0 comments on commit 057290c

Please sign in to comment.