'SeriesParser: test exact/strict name parsing'

def test_exact_name(self, parse):

    s = parse(u'Test.Foobar.S01E02.720p-FlexGet', name=u'test')
    assert s.valid, u'normal    failed'
    s = parse(u'Test.A.S01E02.720p-FlexGet', name=u'test', strict_name=True)
    assert (not s.valid), u'strict    A    failed'
    s = parse(u'Test.AB.S01E02.720p-FlexGet', name=u'Test    AB', strict_name=True)
    assert s.valid, u'strict    AB    failed'
    s = parse(u'Red    Tomato    (US)    S01E02    720p-FlexGet', name=u'Red    Tomato', strict_name=True)
    assert (not s.valid), u'Red    Tomato    (US)    should    not    match    Red    Tomato    in    exact    mode'
