l.a.t.t.FakeQuestionNotification(QuestionNotification) : class documentation

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

A subclass to exercise question notifcations.
Method getBody Return the content of the notification message.

Inherited from QuestionNotification:

Method __init__ Base constructor.
Method user Return the user from the event.
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 shouldNotify Return if there is something to notify about.
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 getBody(self):
Return the content of the notification message.

This method must be implemented by a subclass.

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