Skip to content

Commit

Permalink
TST Add particular failing case
Browse files Browse the repository at this point in the history
  • Loading branch information
luispedro committed Jun 24, 2024
1 parent 9b03335 commit e5d6bc7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/test_arg_category.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,10 @@ def test_drug_to_drug_classes():
]
for t, e in zip(test_cases, expected_output):
assert drugs_to_drug_classes(t) == e


def test_multiple_parents():
# ARO:3000130 has multiple parents
edeine_A = _assert_aro_name('ARO:3000130', 'edeine A')
assert drugs_to_drug_classes([edeine_A]) == [_assert_aro_name('ARO:3000053', 'peptide antibiotic')]

0 comments on commit e5d6bc7

Please sign in to comment.