def __init__(self, author=None, body='', reddit_session=None, replies=[]): self.author = author or TestProcessUnread.Author() self.body = body self.replies = replies self.id = helpers.reddit_id() self.reddit_session = reddit_session self._replied_to = False self._reply_text = ''
def __init__(self, body): self.body = body self.id = helpers.reddit_id() self.permalink = ''
def __init__(self, *args, **kwargs): TestProcessUnread.Repliable.__init__(self, *args, **kwargs) self.was_comment = True self.permalink = helpers.reddit_id() + '/test/' + self.id self._edited = False self._edit_text = ''