Skip to content

Commit

Permalink
updated test_650_others
Browse files Browse the repository at this point in the history
  • Loading branch information
newgene committed Jul 21, 2021
1 parent 9992804 commit 5ab0b94
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/tests/test_6_sources.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,9 +196,11 @@ def test_645_exac(self):

def test_650_others(self):
# this one has some
res = self.request("gene/107924918").json()
res = self.request("gene/1017").json()
assert "other_names" in res, "No other_names found in %s" % res
assert res["other_names"] == ['aquaporin NIP1-2-like', 'aquaporin NIP1;2', 'aquaporin NIP1;3']
assert "cdc2-related protein kinase" in res["other_names"]
assert "cell division protein kinase 2" in res["other_names"]
assert "p33 protein kinase" in res["other_names"]
# # that one not
# res = self.request("gene/83656").json()
# assert "other_names" not in res
Expand Down

0 comments on commit 5ab0b94

Please sign in to comment.