~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/services/messages/doc/message.txt

  • Committer: Aaron Bentley
  • Date: 2011-05-31 21:22:03 UTC
  • mto: This revision was merged to the branch mainline in revision 13148.
  • Revision ID: aaron@canonical.com-20110531212203-83qe5yry7n8z42r2
Fix failing test.

Show diffs side-by-side

added added

removed removed

Lines of Context:
278
278
    >>> msg.raw.read() == raw_msg
279
279
    True
280
280
 
281
 
If you attempt to stuff the same email in again, you get the same
282
 
Message back out (but we have to check with == rather than is, as
283
 
SQLObject doesn't necessarily give us the same intance back)
284
 
 
285
 
    >>> msg2 = msgset.fromEmail(raw_msg)
286
 
    >>> msg == msg2
287
 
    True
288
 
 
289
281
Let's add another multipart message, this time we include a message in
290
282
the message, like it is done when forwarding an email.
291
283