mirror of
https://github.com/python/cpython
synced 2026-09-29 10:15:30 +03:00
Another test of long headers.
This commit is contained in:
parent
9546e7972c
commit
1969817486
2 changed files with 19 additions and 0 deletions
15
Lib/test/data/msg_27.txt
Normal file
15
Lib/test/data/msg_27.txt
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
Return-Path: <aperson@dom.ain>
|
||||
Received: by mail.dom.ain (Postfix, from userid 889)
|
||||
id B9D0AD35DB; Tue, 4 Jun 2002 21:46:59 -0400 (EDT)
|
||||
Message-ID: <15613.28051.707126.569693@dom.ain>
|
||||
Date: Tue, 4 Jun 2002 21:46:59 -0400
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=us-ascii
|
||||
Content-Transfer-Encoding: 7bit
|
||||
Subject: bug demonstration
|
||||
12345678911234567892123456789312345678941234567895123456789612345678971234567898112345678911234567892123456789112345678911234567892123456789
|
||||
more text
|
||||
From: aperson@dom.ain (Anne P. Erson)
|
||||
To: bperson@dom.ain (Barney P. Erson)
|
||||
|
||||
test
|
||||
|
|
@ -1143,6 +1143,10 @@ class TestIdempotent(TestEmailBase):
|
|||
msg, text = self._msgobj('msg_02.txt')
|
||||
self._idempotent(msg, text)
|
||||
|
||||
def test_long_header(self):
|
||||
msg, text = self._msgobj('msg_27.txt')
|
||||
self._idempotent(msg, text)
|
||||
|
||||
## def test_MIME_digest_with_part_headers(self):
|
||||
## msg, text = self._msgobj('msg_28.txt')
|
||||
## self._idempotent(msg, text)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue