'Series plugin: test all option'

def test_all_series_mode(self, execute_task):

    task = execute_task(u'test_all_series_mode')
    assert task.find_entry(u'accepted', title=u'Test.Series.S01E02.PDTV.XViD-FlexGet')
    task.find_entry(u'accepted', title=u'Test    Series    -    1x03    -    PDTV    XViD-FlexGet')
    entry = task.find_entry(u'accepted', title=u'Test    Series    -    1x03    -    PDTV    XViD-FlexGet')
    assert entry
    assert (entry.get(u'series_name') == u'Test    Series')
    entry = task.find_entry(u'accepted', title=u'Other.Show.S02E01.PDTV.XViD-FlexGet')
    assert entry.get(u'series_guessed')
    entry2 = task.find_entry(u'accepted', title=u'other    show    season    2    episode    2')
    assert (entry.get(u'series_name') == entry2.get(u'series_name') == u'Other    Show'), u'Series    names    should    be    in    title    case'
    entry = task.find_entry(u'accepted', title=u'Date.Show.03-29-2012.HDTV.XViD-FlexGet')
    assert entry.get(u'series_guessed')
    assert (entry.get(u'series_name') == u'Date    Show')
