Commit c550726a authored by Lukas Jelonek's avatar Lukas Jelonek
Browse files

Fix failing tests

parent e2893f6b
import unittest
from dbxref.retrieve import ipro
from dbxref.retrieve import interpro
class TestIPro(unittest.TestCase):
# Test if ipro retriever gives any output
def test_output(self):
documents = ipro.retrieve([{'db': 'InterPro', 'id': 'IPR000003'}], basics=True, hierarchy=True, wikipedia=True,
documents = interpro.retrieve([{'db': 'InterPro', 'id': 'IPR000003'}], basics=True, hierarchy=True, wikipedia=True,
literature=True, cross_references=True, overlaps=True)
self.assertTrue(documents)
......
......@@ -5,7 +5,7 @@ from dbxref.retrieve import rfam
class TestRfam(unittest.TestCase):
def test_output(self):
documents = rfam.retrieve({"db": "Rfam", "id": "RF03094"}, basics=True, references=True)
documents = rfam.retrieve([{"db": "Rfam", "id": "RF03094"}], basics=True, references=True)
self.assertTrue(documents)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment