Permalink
Browse files

Do SearchIO indexing get_raw tests on BGZF files

No change on trunk as no new BGZF files added to repository,
skip TravisCI tests [ci skip]
  • Loading branch information...
peterjc committed Dec 3, 2012
1 parent 8f9e72b commit 7c5fa9f8a19759ff5733bb50eb3eb01cd81be1c2
Showing with 4 additions and 0 deletions.
  1. +4 −0 Tests/test_SearchIO_index.py
@@ -48,6 +48,10 @@ def check_raw(self, filename, id, raw, **kwargs):
#self.assertEqual(_as_bytes(raw), idx.get_raw(id))
idx.close()
+ if os.path.isfile(filename + ".bgz"):
+ #Do the tests again with the BGZF compressed file
+ self.check_raw(filename + ".bgz", id, raw, **kwargs)
+
class BlastXmlRawCases(CheckRaw):
"""Check BLAST XML get_raw method."""

0 comments on commit 7c5fa9f

Please sign in to comment.