Merge: #14983: always add a line end after a MIME boundary marker.

This commit is contained in:
R David Murray 2014-02-08 17:56:17 -05:00
commit 66c3d18af1
4 changed files with 16 additions and 7 deletions

View file

@ -1745,7 +1745,8 @@ From: bperson@dom.ain
--BOUNDARY
--BOUNDARY--''')
--BOUNDARY--
''')
def test_no_parts_in_a_multipart_with_empty_epilogue(self):
outer = MIMEBase('multipart', 'mixed')
@ -1790,7 +1791,8 @@ MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
hello world
--BOUNDARY--''')
--BOUNDARY--
''')
def test_seq_parts_in_a_multipart_with_empty_preamble(self):
eq = self.ndiffAssertEqual
@ -1816,7 +1818,8 @@ MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
hello world
--BOUNDARY--''')
--BOUNDARY--
''')
def test_seq_parts_in_a_multipart_with_none_preamble(self):
@ -1842,7 +1845,8 @@ MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
hello world
--BOUNDARY--''')
--BOUNDARY--
''')
def test_seq_parts_in_a_multipart_with_none_epilogue(self):
@ -1868,7 +1872,8 @@ MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
hello world
--BOUNDARY--''')
--BOUNDARY--
''')
def test_seq_parts_in_a_multipart_with_empty_epilogue(self):