Commit 1b643596 authored by Barry Warsaw's avatar Barry Warsaw

Fix test for FeedParser results.

parent 8df59212
# Copyright (C) 2002 Python Software Foundation # Copyright (C) 2002-2004 Python Software Foundation
# #
# A torture test of the email package. This should not be run as part of the # A torture test of the email package. This should not be run as part of the
# standard Python test suite since it requires several meg of email messages # standard Python test suite since it requires several meg of email messages
...@@ -53,7 +53,7 @@ class TestCrispinTorture(TortureBase): ...@@ -53,7 +53,7 @@ class TestCrispinTorture(TortureBase):
eq(type(payload), ListType) eq(type(payload), ListType)
eq(len(payload), 12) eq(len(payload), 12)
eq(msg.preamble, None) eq(msg.preamble, None)
eq(msg.epilogue, '\n\n') eq(msg.epilogue, '\n')
# Probably the best way to verify the message is parsed correctly is to # Probably the best way to verify the message is parsed correctly is to
# dump its structure and compare it against the known structure. # dump its structure and compare it against the known structure.
fp = StringIO() fp = StringIO()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment