예제 #1
0
class TestInternalQualityParser(QualityParser):
    parser = ParserInternal()

    def test_qualities(self):
        failures = self.get_quality_failures()
        assert not failures, '%s failures:\n%s' % (len(failures),
                                                   '\n'.join(failures))
예제 #2
0
 def test_quality_failures(self, test_quality):
     quality = ParserInternal().parse_movie(test_quality[0]).quality
     assert str(quality) == test_quality[1], (
         '`%s` quality should be `%s` not `%s`' %
         (test_quality[0], test_quality[1], quality))
예제 #3
0
class TestInternalQualityParser(QualityParser):
    parser = ParserInternal()
예제 #4
0
class TestInternal(ParserTests):
    parser = ParserInternal()