Skip to content

Commit

Permalink
Fix test test_043_annotation_post.
Browse files Browse the repository at this point in the history
  • Loading branch information
everaldorodrigo committed Jan 2, 2024
1 parent 3c96d04 commit a90a922
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tests/data/test_annotation.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,10 @@ def test_043_annotation_post(self):
# TODO redo this test, doesn't test much really....
res = self.request("variant", method='POST',
data={'ids': 'chr16:g.28883241A>G,chr8:g.19813529A>G',
'filter': 'dbsnp.chrom'}).json()
'fields': 'dbsnp.chrom'}).json()
assert len(res) == 2
for _g in res:
assert set(_g).issuperset(set(['_id', 'query', 'dbsnp', '_version']))
assert set(_g) == set(['_id', 'query', 'dbsnp', '_version'])

def test_044_annotation_post(self):
# Test a large variant post
Expand Down

0 comments on commit a90a922

Please sign in to comment.