]> granicus.if.org Git - python/commitdiff
test_text_plain_in_a_multipart_digest(): A test of the fix for SF bug
authorBarry Warsaw <barry@python.org>
Tue, 5 Nov 2002 21:04:52 +0000 (21:04 +0000)
committerBarry Warsaw <barry@python.org>
Tue, 5 Nov 2002 21:04:52 +0000 (21:04 +0000)
#631350, where a subobject in a multipart/digest isn't a
message/rfc822.

Lib/email/test/test_email.py

index 6a365815548f3fa5a5fa3de14a37496fa2e53fbe..09ff70877c1887affb07004549dec3c60de123cd 100644 (file)
@@ -1494,6 +1494,10 @@ class TestIdempotent(TestEmailBase):
         msg, text = self._msgobj('msg_33.txt')
         self._idempotent(msg, text)
 
+    def test_text_plain_in_a_multipart_digest(self):
+        msg, text = self._msgobj('msg_34.txt')
+        self._idempotent(msg, text)
+
     def test_content_type(self):
         eq = self.assertEquals
         unless = self.failUnless