~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/services/messages/doc/message.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:
143
143
has been a problem before, let's look at text_contents of a message
144
144
containing a signature.asc attachment.
145
145
 
146
 
    >>> from canonical.launchpad.mail.ftests import read_test_message
 
146
    >>> from lp.services.mail.tests.helpers import read_test_message
147
147
    >>> signed_msg = read_test_message('signed_detached.txt')
148
148
    >>> signed_msg['Message-Id'] = '<signeddetached@testmsg>'
149
149
    >>> print signed_msg.as_string()