~barry/mailman/lp1423756

« back to all changes in this revision

Viewing changes to src/mailman/app/docs/subscriptions.rst

  • Committer: Barry Warsaw
  • Date: 2015-01-05 01:20:33 UTC
  • mfrom: (7264.4.66 py3)
  • Revision ID: barry@list.org-20150105012033-zdrw9c2odhpf22fz
Merge the Python 3 branch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
67
67
email address.  However, the user must have a preferred email address.
68
68
::
69
69
 
70
 
    >>> service.join('test.example.com', bart.user.user_id,
71
 
    ...              role=MemberRole.owner)
72
 
    Traceback (most recent call last):
73
 
    ...
74
 
    MissingPreferredAddressError: User must have a preferred address:
75
 
        <User "Bart Person" (2) at ...>
76
 
 
77
70
    >>> from mailman.utilities.datetime import now
78
71
    >>> address = list(bart.user.addresses)[0]
79
72
    >>> address.verified_on = now()