Skip to content
Snippets Groups Projects
Commit 910e7b94 authored by Bryan BRANCOTTE's avatar Bryan BRANCOTTE
Browse files

testing get_pubmed_info closing #51

parent a1a16e44
No related branches found
No related tags found
1 merge request!1Wizard form
Pipeline #9791 passed
...@@ -370,6 +370,16 @@ class TestGetGooglePatentInfo(TestCase): ...@@ -370,6 +370,16 @@ class TestGetGooglePatentInfo(TestCase):
self.assertRaises(ws.PatentNotFound, ws.get_google_patent_info, 'US8856504US8856504US885US8856504US8856504') self.assertRaises(ws.PatentNotFound, ws.get_google_patent_info, 'US8856504US8856504US885US8856504US8856504')
class TestGetPubMEDIdInfo(TestCase):
def test_create_protein(self):
target = {'title': 'Gene List significance at-a-glance with GeneValorization.',
'journal_name': 'Bioinformatics (Oxford, England)',
'biblio_year': '2011',
'authors_list': 'Brancotte B, Biton A, Bernard-Pierrot I, Radvanyi F, Reyal F, Cohen-Boulakia S'}
resp = ws.get_pubmed_info('21349868')
self.assertEqual(resp, target)
class TestGetUniprotInfo(TestCase): class TestGetUniprotInfo(TestCase):
""" """
Test retrieving information for a uniprot entry Test retrieving information for a uniprot entry
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment