-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mock pubmed 557 #567
Mock pubmed 557 #567
Conversation
@proccaserra there are some test failures here and locally in other parts of the code; IIRC these are ones we have discussed before where counts have changed, e.g.
|
tests/utils/test_isatools_utils.py
Outdated
@@ -82,11 +83,12 @@ def test_get_ontology(self): | |||
ontology_source = ols.get_ols_ontology('efo') | |||
self.assertIsInstance(ontology_source, OntologySource) | |||
self.assertEqual(ontology_source.name, 'efo') | |||
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( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
apart from the comment on ols , the rest looks fine to me. thx @knirirr
Thanks. I'm not clear on how the OLS part should look, I'm afraid. |
This mocks two tests as described in #557