Skip to content

Commit

Permalink
Make sure the tests do not fail if messages contain a trailing blank …
Browse files Browse the repository at this point in the history
…line. This fixes test failures on Ubuntu 14.04.
  • Loading branch information
tisto committed Jun 20, 2014
1 parent fb103a1 commit fb96a8c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions plone/rfc822/message.txt
Expand Up @@ -317,7 +317,7 @@ primary fields, we will get a multipart message with two attachments.
Content-Type: text/html; charset="utf-8"
<BLANKLINE>
<p>My profile</p>
--===============...==--
--===============...==--...

(Note that we've used ellipses here for the doctest to work with the generated
boundary string).
Expand Down Expand Up @@ -396,7 +396,7 @@ own multipart message. To do that, we would simply use the
Content-Type: text/html; charset="utf-8"
<BLANKLINE>
<p>My profile</p>
--===============...==--
--===============...==--...

Which approach works best will depend largely on the intended recipient of
the message.
Expand Down Expand Up @@ -582,7 +582,7 @@ In this case, we should get a multipart document with two payloads.
Content-Transfer-Encoding: base64
<BLANKLINE>
PGh0bWw+PGJvZHk+dGVzdDwvYm9keT48L2h0bWw+
--===============...==--
--===============...==--...

And again, we can reconstruct the object, this time with both fields:

Expand Down

0 comments on commit fb96a8c

Please sign in to comment.