diff --git a/prody/tests/proteins/test_pdbfile.py b/prody/tests/proteins/test_pdbfile.py index 7efa2a585..3f34f453a 100644 --- a/prody/tests/proteins/test_pdbfile.py +++ b/prody/tests/proteins/test_pdbfile.py @@ -209,7 +209,7 @@ def setUp(self): self.ag = parsePDB(self.pdb['path']) self.tmp = os.path.join(TEMPDIR, 'test.pdb') - self.ubi = parsePDB(DATA_FILES['1ubi']['path']) + self.ubi = parsePDB(DATA_FILES['1ubi']['path'], secondary=True) self.hex = parsePDB(DATA_FILES['hex']['path']) self.h36 = parsePDB(DATA_FILES['h36']['path']) @@ -293,7 +293,7 @@ def testWritingSecstrs(self): """Test if output from writing secstrs is as expected.""" out = writePDB(self.tmp, self.ubi) - ubi_new = parsePDB(out) + ubi_new = parsePDB(out, secondary=True) self.assertListEqual(list(self.ubi.getSecstrs()), list(ubi_new.getSecstrs())) @dec.slow