~launchpad-pqm/launchpad/devel

« back to all changes in this revision

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

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-06-01 15:40:36 UTC
  • mfrom: (13142.1.2 no-dedup)
  • Revision ID: launchpad@pqm.canonical.com-20110601154036-l1bzevb2ix1yhuoh
[r=lifeless][bug=595166] Stop corner-case combining emails.

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