~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/services/mail/doc/notification-recipient-set.txt

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-12-22 04:45:35 UTC
  • mfrom: (14565.2.24 apocalyptic-pieces)
  • Revision ID: launchpad@pqm.canonical.com-20111222044535-jbjyzq3hzwiy7g20
[rs=sinzui][no-qa] Move javascript and scripts to lp. Dismantle
 mailnotification.

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
recipient lists with the rationale for contacting them.
13
13
 
14
14
There is a base implementation of the interface available as
15
 
canonical.launchpad.mailnotification.NotificationRecipientSet. You can
 
15
lp.services.mail.notificationrecipientset.NotificationRecipientSet. You can
16
16
use it as is or derive from it (see bugnotificationrecipients.txt for an
17
17
example of a derivation).
18
18
 
19
19
    >>> from lp.services.mail.interfaces import INotificationRecipientSet
20
20
    >>> from canonical.launchpad.webapp.testing import verifyObject
21
 
    >>> from canonical.launchpad.mailnotification import (
 
21
    >>> from lp.services.mail.notificationrecipientset import (
22
22
    ...     NotificationRecipientSet)
23
23
 
24
24
    >>> recipients = NotificationRecipientSet()