'trakt: Test Lookup (ONLINE)'

def test_lookup(self, execute_task):

    task = execute_task(u'test')
    entry = task.find_entry(title=u'House.S01E02.HDTV.XViD-FlexGet')
    assert (entry[u'trakt_ep_name'] == u'Paternity'), (u'%s    trakt_ep_name    should    be    Paternity' % entry[u'title'])
    assert (entry[u'trakt_series_status'] == u'ended'), (u'runtime    for    %s    is    %s,    should    be    "ended"' % (entry[u'title'], entry[u'trakt_series_status']))
    assert (entry[u'afield'] == u'73255Paternity'), u'afield    was    not    set    correctly'
    assert task.find_entry(trakt_ep_name=u'School    Reunion'), u'Failed    imdb    lookup    Doctor    Who    2005    S02E03'
