summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>2002-01-27 06:48:47 (GMT)
committerBarry Warsaw <barry@python.org>2002-01-27 06:48:47 (GMT)
commit763af4173d7a2d7c490f9cb6ffee1e4d12eef01c (patch)
tree993392faebae956b10d0e1c8194cca633c03ddb7 /Lib
parent15e9dc9eac219775aa70e57652810a187584d7c6 (diff)
downloadcpython-763af4173d7a2d7c490f9cb6ffee1e4d12eef01c.zip
cpython-763af4173d7a2d7c490f9cb6ffee1e4d12eef01c.tar.gz
cpython-763af4173d7a2d7c490f9cb6ffee1e4d12eef01c.tar.bz2
test_multipart_one_part(): Idempotency test case for a multipart/*
with only one subpart.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_email.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/Lib/test/test_email.py b/Lib/test/test_email.py
index 5be7e95..7105f7d 100644
--- a/Lib/test/test_email.py
+++ b/Lib/test/test_email.py
@@ -1,4 +1,4 @@
-# Copyright (C) 2001 Python Software Foundation
+# Copyright (C) 2001,2002 Python Software Foundation
# email package unit tests
import os
@@ -790,6 +790,10 @@ class TestIdempotent(unittest.TestCase):
msg, text = self._msgobj('msg_21.txt')
self._idempotent(msg, text)
+ def test_multipart_one_part(self):
+ msg, text = self._msgobj('msg_23.txt')
+ self._idempotent(msg, text)
+
def test_content_type(self):
eq = self.assertEquals
# Get a message object and reset the seek pointer for other tests