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