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