test_pfam.py 385 Bytes
Newer Older
1
import unittest
2
from dbxref.retrieve import pfam
3
4
5

class TestPfam(unittest.TestCase):

6
7
8
    def test_no_position(self):
      '''regression test for missing comment in pfam entry'''
      documents = pfam.retrieve([{'db': 'PFAM', 'id': 'PF00083.23'}])
9
10
      # this test failed due to an error due to missing None handling, 
      # so no assertions here. Once fixed. this should suffice