Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 32 lines (21 sloc) 0.954 kb
aa7dcf6 @bow Refactor SearchIO indexing tests
bow authored
1 # Copyright 2012 by Wibowo Arindrarto. All rights reserved.
2 # This code is part of the Biopython distribution and governed by its
3 # license. Please see the LICENSE file that should have been included
4 # as part of this package.
5
6 """Tests for SearchIO exonerate-text indexing."""
7
8 import os
9 import unittest
10
11 from search_tests_common import CheckIndex
12
13
14 class ExonerateTextIndexCases(CheckIndex):
15
16 fmt = 'exonerate-text'
17
18 def test_exn_22_m_est2genome(self):
19 """Test exonerate-text indexing, single"""
20 filename = os.path.join('Exonerate', 'exn_22_m_est2genome.exn')
21 self.check_index(filename, self.fmt)
22
23 def test_exn_22_q_multiple(self):
24 """Test exonerate-text indexing, single"""
25 filename = os.path.join('Exonerate', 'exn_22_q_multiple.exn')
26 self.check_index(filename, self.fmt)
27
28
29 if __name__ == "__main__":
b67cebf @peterjc Fix common PEP8 violation in unittest verbosity argument
peterjc authored
30 runner = unittest.TextTestRunner(verbosity=2)
aa7dcf6 @bow Refactor SearchIO indexing tests
bow authored
31 unittest.main(testRunner=runner)
Something went wrong with that request. Please try again.