def test_tv(self):
     for name, title, season, episode in self.tv_single_episode_tests:
         parser = TVParser(name)
         self.assertTrue(parser.is_match(title, season, episode),
                         '{} ({})'.format(name, parser.match))
Пример #2
0
 def test_tv(self):
     for name, title, season in self.tv_season_tests:
         parser = TVParser(name)
         self.assertTrue(parser.is_match(title, season),
                         '{} ({})'.format(name, parser.match))