l.a.t.t.FakeQuestionAddedNotification(QuestionAddedNotification) : class documentation

Part of lp.answers.tests.test_question_notifications View In Hierarchy

A subclass that does not send emails.
Method shouldNotify Return if there is something to notify about.

Inherited from QuestionAddedNotification:

Method user Return the question owner.
Method getBody See QuestionNotification.

Inherited from QuestionNotification (via QuestionAddedNotification):

Method __init__ Base constructor.
Method getSubject Return the subject of the notification.
Method getHeaders Return additional headers to add to the email.
Method initialize Initialization hook for subclasses.
Method enqueue Create a job to send email about the event.
Method unsupported_language Whether the question language is unsupported or not.
Method unsupported_language_warning Warning about the fact that the question is written in an
def shouldNotify(self):
Return if there is something to notify about.

When this method returns False, no notification will be sent. By default, all event trigger a notification.

API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.