5
:Contact: goodger@users.sourceforge.net
6
:Revision: $Revision: 1.1 $
7
:Date: $Date: 2002/05/05 15:44:00 $
8
:Copyright: This module has been placed in the public domain.
10
Tests for RFC-2822 headers in PEPs (readers/pep.py).
13
from __init__ import DocutilsTestSupport
16
s = DocutilsTestSupport.PEPParserTestSuite()
17
s.generateTests(totest)
30
<field_list class="rfc2822">
57
.. Leading blank lines don't affect RFC-2822 header parsing.
61
<field_list class="rfc2822">
81
Leading blank lines don't affect RFC-2822 header parsing.
84
.. A comment should prevent RFC-2822 header parsing.
93
A comment should prevent RFC-2822 header parsing.
107
<field_list class="rfc2822">
120
empty item above, no blank line
124
<field_list class="rfc2822">
129
<system_message level="2" type="WARNING">
131
RFC2822-style field list ends without a blank line; unexpected unindent at line 2.
133
empty item above, no blank line
145
<field_list class="rfc2822">
176
<field_list class="rfc2822">
211
<field_list class="rfc2822">
243
<field_list class="rfc2822">
248
<bullet_list bullet="-">
265
if __name__ == '__main__':
267
unittest.main(defaultTest='suite')