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')]
def setUp(self): self.esc = ElemScan('data/hgex')