Skip to content

Commit

Permalink
add test case
Browse files Browse the repository at this point in the history
  • Loading branch information
sainak committed May 26, 2024
1 parent c7fdf63 commit b8b4ccc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions care/facility/tests/test_icd11_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ def test_search_with_disease_code(self):
res = self.search_icd11("ME24.A1")
self.assertContains(res, "ME24.A1 Haemorrhage of anus and rectum")

res = self.search_icd11("CA22.Z")
self.assertContains(res, "CA22.Z Chronic obstructive pulmonary disease")

res = self.search_icd11("1A00 Cholera")
self.assertContains(res, "1A00 Cholera")

Expand Down

0 comments on commit b8b4ccc

Please sign in to comment.