Skip to content

Commit f625532

Browse files
committed
Removed previously incorrect test.
1 parent d4b3436 commit f625532

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

tests/test_service.py

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -173,11 +173,8 @@ def test_bulk_lookup():
173173
assert results['beta-secretase'][0]['label'] == 'BACE1 inhibitor'
174174
assert len(results['Parkinson']) == 34
175175

176-
# TODO: this should be MONDO:0005180 "Parkinson disease", but
177-
# instead we get MONDO:0000828 "juvenile-onset Parkinson's disease"
178-
# as the top result.
179-
assert results['Parkinson'][0]['curie'] == 'MONDO:0000828'
180-
assert results['Parkinson'][0]['label'] == "juvenile-onset Parkinson disease"
176+
assert results['Parkinson'][0]['curie'] == 'MONDO:0005180'
177+
assert results['Parkinson'][0]['label'] == "Parkinson disease"
181178

182179
# Try it again with the biolink_types set.
183180
params['biolink_types'] = ['biolink:Disease']
@@ -189,12 +186,9 @@ def test_bulk_lookup():
189186
assert results['beta-secretase'][0]['curie'] == 'MONDO:0011561'
190187
assert results['beta-secretase'][0]['label'] == 'Alzheimer disease 6'
191188

192-
# TODO: this should be MONDO:0005180 "Parkinson disease", but
193-
# instead we get MONDO:0000828 "juvenile-onset Parkinson disease"
194-
# as the top result.
195189
assert len(results['Parkinson']) == 33
196-
assert results['Parkinson'][0]['curie'] == 'MONDO:0000828'
197-
assert results['Parkinson'][0]['label'] == "juvenile-onset Parkinson disease"
190+
assert results['Parkinson'][0]['curie'] == 'MONDO:0005180'
191+
assert results['Parkinson'][0]['label'] == "Parkinson disease"
198192

199193

200194
def test_synonyms():

0 commit comments

Comments
 (0)