Exemple #1
0
def test_add_to_history():
    timestamps = [datetime.now(), None]
    for timestamp in timestamps:
        response = add_to_history(FakeMedia(), timestamp)
Exemple #2
0
 def mark_as_seen(self, watched_at=None):
     """Mark this episode as seen"""
     add_to_history(self, watched_at)
Exemple #3
0
 def mark_as_seen(self, watched_at=None):
     """Add this :class:`TVShow`, watched outside of trakt, to your library.
     """
     add_to_history(self, watched_at)
Exemple #4
0
 def mark_as_seen(self, watched_at=None):
     """Mark this episode as seen"""
     add_to_history(self, watched_at)
Exemple #5
0
 def mark_as_seen(self, watched_at=None):
     """Add this :class:`TVShow`, watched outside of trakt, to your library.
     """
     add_to_history(self, watched_at)
Exemple #6
0
def test_add_to_history():
    timestamps = [datetime.now(), None]
    for timestamp in timestamps:
        response = add_to_history(FakeMedia(), timestamp)