~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/services/mail/doc/emailauthentication.txt

  • Committer: Curtis Hovey
  • Date: 2011-08-11 21:43:50 UTC
  • mto: This revision was merged to the branch mainline in revision 13685.
  • Revision ID: curtis.hovey@canonical.com-20110811214350-laray9lug0rdjo2d
Moved helpers.read_test_message to lp.services.mail.tests

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
Now Sample Person and Foo Bar have one OpenPGP key each. Next, let's get
30
30
a test email that's signed and try to authenticate the user who sent it:
31
31
 
32
 
    >>> from canonical.launchpad.mail.ftests import read_test_message
 
32
    >>> from lp.services.mail.tests.helpers import read_test_message
33
33
    >>> msg = read_test_message('signed_detached.txt')
34
34
    >>> principal = authenticateEmail(msg, accept_any_timestamp)
35
35