Пример #1
0
class ElemScan_Test(unittest.TestCase):
    def setUp(self):
        self.esc = ElemScan('data/hgex')
    
    def test_iterfasta(self):
        assert [fname for fname in self.esc.iterfasta()] == [
            ('chr1', 'data/hgex/chr1.fa'), ('chr2', 'data/hgex/chr2.fa')]
Пример #2
0
 def setUp(self):
     self.esc = ElemScan('data/hgex')