Skip to content

Commit

Permalink
Fix ols test.
Browse files Browse the repository at this point in the history
  • Loading branch information
knirirr committed Aug 30, 2024
1 parent 7467ffb commit 0b4afe6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/utils/test_isatools_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,8 @@ def test_get_ontology(self):
ontology_source = ols.get_ols_ontology('efo')
self.assertIsInstance(ontology_source, OntologySource)
self.assertEqual(ontology_source.name, 'efo')
self.assertEqual(
ontology_source.file,
'https://www.ebi.ac.uk/ols4/api/ontologies/efo?lang=en')
self.assertIn("https://www.ebi.ac.uk/ols", ontology_source.file)
self.assertIn("/api/ontologies/efo?lang=en", ontology_source.file)
self.assertIsInstance(ontology_source.version, str)
self.assertEqual(ontology_source.description, 'Experimental Factor Ontology')

Expand Down

0 comments on commit 0b4afe6

Please sign in to comment.