~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/registry/doc/person-notification.txt

  • Committer: Julian Edwards
  • Date: 2011-07-15 14:28:21 UTC
  • mfrom: (13444 devel)
  • mto: This revision was merged to the branch mainline in revision 13459.
  • Revision ID: julian.edwards@canonical.com-20110715142821-c1vwbppkh7szv6yk
merge devel

Show diffs side-by-side

added added

removed removed

Lines of Context:
66
66
 
67
67
    >>> notification = notification_set.addNotification(
68
68
    ...     mark, 'subject2', 'body2')
 
69
 
 
70
This includes notifications to teams owned by other teams.
 
71
 
 
72
    >>> owning_team = factory.makeTeam()
 
73
    >>> team = factory.makeTeam(owner=owning_team)
 
74
    >>> team_notification = notification_set.addNotification(
 
75
    ...     team, 'subject3', 'body3')
69
76
    >>> [n.subject for n in notification_set.getNotificationsToSend()]
70
 
    [u'subject2']
71
 
 
 
77
    [u'subject2', u'subject3']
72
78
    >>> transaction.commit()
73
79
 
74
80
    >>> import subprocess