class TestSubRipBlockParser(unittest.TestCase): def setUp(self): self.parser = SubRipParser() def test_cheers(self): for s in self.parser.parse(cheers_text): print(s)
class TestSubRipBlockParser (unittest.TestCase): def setUp(self): self.parser = SubRipParser() def test_cheers(self): for s in self.parser.parse(cheers_text): print s
def setUp(self): self.parser = SubRipParser()