Пример #1
0
def test_proper():
    tracks = {'general': "",
              'video': dict(),
              'audio': "",
              'text': ["sub", "title"]}

    s = bb.VideoSubmission(
        path=("Some.Awesome.Show.S26E12.REPACK."
              "With.A.Show.Title.720p.WEB-DL.AAC2.0.H.264-pontifex.mkv"),
        title_arg=None,
        scene=True,
        tracks=tracks)

    assert s['additional'][0] == 'PROPER'
Пример #2
0
def test_tv_specifier(title, path, specifier):
    s = bb.VideoSubmission(path=path, title_arg=title)
    assert s['tv_specifier'] == specifier