Skip to content

Commit 32c05b7

Browse files
committed
update integration test
1 parent 7b7f20a commit 32c05b7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/trait_mapping/test_main.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,11 +89,11 @@ def test_process_trait():
8989
assert len(processed_trait_1.ols_result_list) == 7
9090
assert processed_trait_1.is_finished
9191

92-
# Trait 2 finds nothing via OLS, so goes through Zooma as well and finds a high-confidence result
93-
trait_2 = Trait('isolated nonsyndromic congenital heart disease', None, None)
92+
# Trait 2 finds nothing exact via OLS, so goes through Zooma as well and finds a high-confidence result
93+
trait_2 = Trait('11p partial monosomy syndrome', None, None)
9494
processed_trait_2 = process_trait(trait_2, zooma_filters, zooma_host, oxo_targets, oxo_distance, ols_query_fields,
9595
ols_field_list, target_ontology, preferred_ontologies)
96-
assert len(processed_trait_2.ols_result_list) == 0
96+
assert len(processed_trait_2.ols_result_list) == 9
9797
assert len(processed_trait_2.zooma_result_list) == 1
9898
assert processed_trait_2.is_finished
9999

0 commit comments

Comments
 (0)