'SeriesParser: 01x02'

def test_season_x_ep(self, parse):

    s = parse(name=u'Something', data=u'Something.01x02-FlexGet')
    assert ((s.season == 1) and (s.episode == 2)), u'failed    to    parse    01x02'
    s = parse(name=u'Something', data=u'Something    1    x    2-FlexGet')
    assert ((s.season == 1) and (s.episode == 2)), u'failed    to    parse    1    x    2'
    s = parse(name=u'Something', data=u'Something    -    This    is    the    Subtitle    14x9    [Group-Name]')
    assert ((s.season == 14) and (s.episode == 9)), (u'failed    to    parse    %s' % s.data)
