ISA-tools / isa-api

ISA tools API
https://isa-tools.org
Other
40 stars 38 forks source link

Corrected values for test_get_ontology. #561

Closed knirirr closed 2 months ago

knirirr commented 3 months ago

This fixes the get_ontology test where the values returned have diverged from what's in the test. I was looking at https://github.com/ISA-tools/isa-api/issues/557 initially but could not reproduce that issue.

proccaserra commented 2 months ago

@knirirr closing as the issue has been addressed in issue-511 PR with:

self.assertIn("https://www.ebi.ac.uk/ols", ontology_source.file)
self.assertIn("/api/ontologies/efo?lang=en", ontology_source.file)

to cope with version change (assuming it follows a pattern)