Exemple #1
0
 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 = ''
Exemple #2
0
 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 = ''
Exemple #3
0
 def __init__(self, body):
     self.body = body
     self.id = helpers.reddit_id()
     self.permalink = ''
Exemple #4
0
 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 = ''
Exemple #5
0
 def __init__(self, body):
     self.body = body
     self.id = helpers.reddit_id()
     self.permalink = ''
Exemple #6
0
 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 = ''