Skip to content

Commit

Permalink
fix pfam test for pfam changes
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesmkrieger committed Feb 7, 2024
1 parent 9ef920b commit 4bab30f
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions prody/tests/database/test_pfam.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,8 @@ def testUniprotAccMulti(self):
self.assertIsInstance(a, dict,
'searchPfam failed to return a dict instance')

self.assertEqual(sorted(list(a.keys())),
['PF00060', 'PF00497', 'PF01094', 'PF10613'],
'searchPfam failed to return the right domain family IDs')
self.assertEqual(sorted(list(a.keys()))[:2], ['PF00060', 'PF00497'],
'searchPfam failed to return the right domain family IDs')

def testPdbIdChMulti(self):
"""Test the outcome of a simple search scenario using a PDB ID
Expand All @@ -49,7 +48,7 @@ def testPdbIdChMulti(self):
self.assertIsInstance(a, dict,
'searchPfam failed to return a dict instance')

self.assertEqual(sorted(list(a.keys())), ['PF00060', 'PF00497', 'PF01094', 'PF10613'],
self.assertEqual(sorted(list(a.keys()))[:2], ['PF00060', 'PF00497'],
'searchPfam failed to return the right domain family IDs for AMPAR')

def testPdbIdChSingle(self):
Expand Down

0 comments on commit 4bab30f

Please sign in to comment.