Commit 0547ab60 authored by Jan Keller's avatar Jan Keller
Browse files

Unittest for HAMAP retriever

parent 02596f8c
#!/usr/bin/env python3
import unittest
from dbxref.retrieve import hamap
class TestHAMAP(unittest.TestCase):
def test_output(self):
"""test if HAMAP retriever gives any output, ergo functions in any way"""
documents = hamap.retrieve({"db": "HAMAP", "id": "HM:MF_00607"}, matrix=True)
if __name__ == "__main__":
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