the previous RFC 2045, $5.2 repair to get_content_type() this
subpart's type will now be text/plain.
# Mark Crispin's torture test from the SquirrelMail project
def test_mondo_message(self):
eq = self.assertEqual
+ neq = self.ndiffAssertEqual
msg = self._msgobj('crispin-torture.txt')
payload = msg.get_payload()
eq(type(payload), ListType)
# dump its structure and compare it against the known structure.
fp = StringIO()
_structure(msg, fp=fp)
- eq(fp.getvalue(), """\
+ neq(fp.getvalue(), """\
multipart/mixed
text/plain
message/rfc822
message/rfc822
multipart/mixed
application/postscript
- binary
+ text/plain
message/rfc822
multipart/mixed
text/plain