Skip to content
Snippets Groups Projects
Commit f66712fa authored by Studer Gabriel's avatar Studer Gabriel
Browse files

dummy commit 2

see previous commit
parent 1f22e83b
No related branches found
No related tags found
No related merge requests found
......@@ -154,11 +154,14 @@ class TestHHblitsBindings(unittest.TestCase):
with open(hhfile) as tfh:
tlst = tfh.readlines()
with open("testfiles/test.hmm") as efh:
elst = efh.readlines()
self.assertEqual(len(elst), len(tlst))
for i in range(0, len(elst)):
if not elst[i].startswith(('FILE', 'COM', 'DATE')):
self.assertEqual(elst[i], tlst[i])
elst_1 = efh.readlines()
with open("testfiles/test_2.hmm") as efh:
elst_2 = efh.readlines()
assert(len(elst_1)==len(elst_2))
self.assertEqual(len(elst_1), len(tlst))
for i in range(0, len(elst_1)):
if not elst_1[i].startswith(('FILE', 'COM', 'DATE')):
self.assertTrue(elst_1[i] == tlst[i] or elst_2[i] == tlst[i])
def testA3mToProfileWithoutFileName(self):
# test A3mToProfile to work without a given hhmake_file name
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment