diff options
| author | Barry Warsaw | 2007-06-22 17:15:03 -0400 |
|---|---|---|
| committer | Barry Warsaw | 2007-06-22 17:15:03 -0400 |
| commit | d629fe4305a062a62eb77d12d8847b7e405ff5e6 (patch) | |
| tree | a7bdda181b945ba86afeb89a2439f1836453bdd1 /Mailman/testing/test_cook_headers.py | |
| parent | fba4983f88e0305a32e3135d129621890bf9adde (diff) | |
| download | mailman-d629fe4305a062a62eb77d12d8847b7e405ff5e6.tar.gz mailman-d629fe4305a062a62eb77d12d8847b7e405ff5e6.tar.zst mailman-d629fe4305a062a62eb77d12d8847b7e405ff5e6.zip | |
Diffstat (limited to 'Mailman/testing/test_cook_headers.py')
| -rw-r--r-- | Mailman/testing/test_cook_headers.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/Mailman/testing/test_cook_headers.py b/Mailman/testing/test_cook_headers.py index ec8997858..dd141aab9 100644 --- a/Mailman/testing/test_cook_headers.py +++ b/Mailman/testing/test_cook_headers.py @@ -18,12 +18,9 @@ """Doctest harness for the CookHeaders handler.""" import os -import doctest import unittest -options = (doctest.ELLIPSIS - | doctest.NORMALIZE_WHITESPACE - | doctest.REPORT_NDIFF) +from Mailman.testing.base import make_docfile_suite def test_suite(): @@ -31,5 +28,5 @@ def test_suite(): for filename in ('ack-headers', 'cook-headers', 'subject-munging', 'reply-to'): path = os.path.join('..', 'docs', filename + '.txt') - suite.addTest(doctest.DocFileSuite(path, optionflags=options)) + suite.addTest(make_docfile_suite(path)) return suite |
