Commit 550001e0 authored by Jan Keller's avatar Jan Keller
Browse files

unittest for the InterPro retriever

parent 54d1951c
import unittest
from dbxref.retrieve import ipro
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,
literature=True, cross_references=True, overlaps=True)
self.assertTrue(documents)
if __name__ == '__main__':
unittest.main()
Supports Markdown
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