~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/registry/browser/tests/team-join-views.txt

  • Committer: William Grant
  • Date: 2012-01-04 06:52:11 UTC
  • mto: This revision was merged to the branch mainline in revision 14631.
  • Revision ID: william.grant@canonical.com-20120104065211-tedy10chgh7gx3dk
MailingList.getSenderAddresses and getSubscriberAddresses are only used by tests. Change them to return lists of string addresses, and delegate to MailingListSet.

Show diffs side-by-side

added added

removed removed

Lines of Context:
56
56
    Your request to join moderated-team-with-list is awaiting approval.
57
57
    Your mailing list subscription is awaiting approval.
58
58
 
59
 
    >>> sorted(email.email for email in
60
 
    ...     moderated_list.getSubscribedAddresses())
 
59
    >>> sorted(moderated_list.getSubscribedAddresses())
61
60
    []
62
61
 
63
62
    # The subscription object is in the database, waiting for the
76
75
    You have successfully joined open-team-with-list.
77
76
    You have been subscribed to this team’s mailing list.
78
77
 
79
 
    >>> sorted(email.email for email in
80
 
    ...     open_list.getSubscribedAddresses())
 
78
    >>> sorted(open_list.getSubscribedAddresses())
81
79
    [u'test@canonical.com']