From b8b4ccc83822a8229842c33f6708c3628986e8f7 Mon Sep 17 00:00:00 2001 From: Aakash Singh Date: Sun, 26 May 2024 16:43:17 +0530 Subject: [PATCH] add test case --- care/facility/tests/test_icd11_api.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/care/facility/tests/test_icd11_api.py b/care/facility/tests/test_icd11_api.py index 69bacc7029..f18f2a9c75 100644 --- a/care/facility/tests/test_icd11_api.py +++ b/care/facility/tests/test_icd11_api.py @@ -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")