Skip to content

Instantly share code, notes, and snippets.

@liiight
Created March 17, 2016 15:54
Show Gist options
  • Save liiight/2ec328fd206de76b2d4a to your computer and use it in GitHub Desktop.
Save liiight/2ec328fd206de76b2d4a to your computer and use it in GitHub Desktop.
attempt at trakt set test
from __future__ import unicode_literals, division, absolute_import
import pytest
from flexget.entry import Entry
from flexget.plugins.list.trakt_list import TraktSet
@pytest.mark.online
class TestTraktList(object):
config = {'tasks': {}}
trakt_config = {'account': 'flexget_list_test',
'list': 'watchlist',
'type': 'shows'}
trakt_set = TraktSet(trakt_config)
entry = Entry(title='White collar (2009)', series_name='White collar (2009)')
trakt_set.add(entry)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment