Beispiel #1
0
def test_add_to_history():
    timestamps = [datetime.now(), None]
    for timestamp in timestamps:
        response = add_to_history(FakeMedia(), timestamp)
Beispiel #2
0
 def mark_as_seen(self, watched_at=None):
     """Mark this episode as seen"""
     add_to_history(self, watched_at)
Beispiel #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)
Beispiel #4
0
 def mark_as_seen(self, watched_at=None):
     """Mark this episode as seen"""
     add_to_history(self, watched_at)
Beispiel #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)
Beispiel #6
0
def test_add_to_history():
    timestamps = [datetime.now(), None]
    for timestamp in timestamps:
        response = add_to_history(FakeMedia(), timestamp)