summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>2002-07-09 02:36:10 (GMT)
committerBarry Warsaw <barry@python.org>2002-07-09 02:36:10 (GMT)
commite5270aea23ff8e35a60d836ceeefe013f28cfc98 (patch)
treef602d97c1eb80f39029faff14ddeb6bc880339d5 /Lib/test
parent27b168ca7c3e8e346fb7e30ec9be6d2b5cbaf1d3 (diff)
downloadcpython-e5270aea23ff8e35a60d836ceeefe013f28cfc98.zip
cpython-e5270aea23ff8e35a60d836ceeefe013f28cfc98.tar.gz
cpython-e5270aea23ff8e35a60d836ceeefe013f28cfc98.tar.bz2
New files which test the corners of multipart/message and
message/rfc822 compliance.
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/data/msg_28.txt25
-rw-r--r--Lib/test/data/msg_30.txt23
2 files changed, 48 insertions, 0 deletions
diff --git a/Lib/test/data/msg_28.txt b/Lib/test/data/msg_28.txt
new file mode 100644
index 0000000..1e4824c
--- /dev/null
+++ b/Lib/test/data/msg_28.txt
@@ -0,0 +1,25 @@
+From: aperson@dom.ain
+MIME-Version: 1.0
+Content-Type: multipart/digest; boundary=BOUNDARY
+
+--BOUNDARY
+Content-Type: message/rfc822
+
+Content-Type: text/plain; charset=us-ascii
+To: aa@bb.org
+From: cc@dd.org
+Subject: ee
+
+message 1
+
+--BOUNDARY
+Content-Type: message/rfc822
+
+Content-Type: text/plain; charset=us-ascii
+To: aa@bb.org
+From: cc@dd.org
+Subject: ee
+
+message 2
+
+--BOUNDARY--
diff --git a/Lib/test/data/msg_30.txt b/Lib/test/data/msg_30.txt
new file mode 100644
index 0000000..4334bb6
--- /dev/null
+++ b/Lib/test/data/msg_30.txt
@@ -0,0 +1,23 @@
+From: aperson@dom.ain
+MIME-Version: 1.0
+Content-Type: multipart/digest; boundary=BOUNDARY
+
+--BOUNDARY
+
+Content-Type: text/plain; charset=us-ascii
+To: aa@bb.org
+From: cc@dd.org
+Subject: ee
+
+message 1
+
+--BOUNDARY
+
+Content-Type: text/plain; charset=us-ascii
+To: aa@bb.org
+From: cc@dd.org
+Subject: ee
+
+message 2
+
+--BOUNDARY--