Created
          March 17, 2016 15:54 
        
      - 
      
- 
        Save liiight/2ec328fd206de76b2d4a to your computer and use it in GitHub Desktop. 
    attempt at trakt set test
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | 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