Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
apriltuesday committed Sep 29, 2023
1 parent 9ca5788 commit 3146ce0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/output_generation/evaluation/test_ols_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@


def test_fetch_eval_data():
expected = ('MONDO:0004975', False, {'MONDO:0004975', 'Orphanet:238616'})
expected = ('MONDO:0004975', False, {'MONDO:0004975'})
assert fetch_eval_data(db_iden=('MONDO', 'MONDO:0004975')) == expected
assert fetch_eval_data(uri='http://purl.obolibrary.org/obo/MONDO_0004975') == expected


def test_fetch_eval_data_include_neighbors():
expected = ('MONDO:0004975', False, {'MONDO:0004975', 'Orphanet:238616'},
expected = ('MONDO:0004975', False, {'MONDO:0004975'},
{'EFO:0005815', 'MONDO:0001627'}, {'MONDO:0100087', 'EFO:1001870'})
assert fetch_eval_data(db_iden=('MONDO', 'MONDO:0004975'), include_neighbors=True) == expected

0 comments on commit 3146ce0

Please sign in to comment.