Skip to content

Commit

Permalink
added test
Browse files Browse the repository at this point in the history
  • Loading branch information
frehburg committed Oct 4, 2024
1 parent 0a8dde5 commit 6dd450d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/api_requests/test_hpo_api_request.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
from phenopacket_mapper.api_requests.hpo_api_request import HPOAPIRequest
from phenopacket_mapper.data_standards import Coding, HPO


def test_hpo_api_request():
hp = HPOAPIRequest()
assert hp.get("0000098") == Coding(system=HPO, code="0000098", display="Tall stature")

0 comments on commit 6dd450d

Please sign in to comment.