Commit 93fb5165 authored by Jan Keller's avatar Jan Keller
Browse files

Unittest for GI retriever gi.py

parent bcd6a600
import unittest
from dbxref.retrieve import gi
class TestGI(unittest.TestCase):
def test_output(self):
documents = gi.retrieve({"db": "IG", "id": "P0ABT0", }, basics=True, dbsource=True, references=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