Skip to content

Commit

Permalink
update numbers in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
James Brandreth committed Sep 19, 2024
1 parent b809d1e commit 5091b2d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,19 @@ def test_core(model_directory_path, test_note, test_negated_note, test_duplicate
processor.add_annotator("meds/allergies")

assert processor.process(test_note) == [
Concept(id="59927004", name="00 liver failure", category=Category.PROBLEM),
Concept(id="59927004", name="01 liver failure", category=Category.PROBLEM),
Concept(id="322236009", name="paracetamol 500mg oral tablets", category=Category.MEDICATION),
]
assert processor.process(test_negated_note) == [
Concept(id="322236009", name="paracetamol 500mg oral tablets", category=Category.MEDICATION),
]
assert processor.process(test_duplicated_note) == [
Concept(id="59927004", name="00 liver failure", category=Category.PROBLEM),
Concept(id="59927004", name="01 liver failure", category=Category.PROBLEM),
Concept(id="322236009", name="paracetamol 500mg oral tablets", category=Category.MEDICATION),
]
assert processor.get_concept_dicts(test_note) == [
{
"name": "00 liver failure",
"name": "01 liver failure",
"id": "59927004",
"category": "PROBLEM",
"start": 12,
Expand Down

0 comments on commit 5091b2d

Please sign in to comment.